An electronic device comprising: a wireless communication module ; and at least one processor operably connected to the wireless communication module , the at least one processor configured to: acquire , through the wireless communication module , data rate information of at least one external electronic device ; identify , among the at least one external electronic device based on the data rate information, a first external electronic device including a data rate pattern corresponding to a first condition; identify , through the wireless communication module, channel state information, CSI, of a channel in which the first external electronic device performs communication; identify whether a time point at which the CSI of the channel changes and a time point at which the data rate of the first external electronic device changes match each other; and identify whether a space where the electronic device is located is captured by the first external electronic device based on whether the time point at which the CSI of the channel changes and the time point at which the data rate of the first external electronic device changes match each other. a wireless communication module ; and at least one processor operably connected to the wireless communication module , the at least one processor configured to: acquire , through the wireless communication module , data rate information of at least one external electronic device ; identify , among the at least one external electronic device based on the data rate information, a first external electronic device including a data rate pattern corresponding to a first condition; identify , through the wireless communication module, channel state information, CSI, of a channel in which the first external electronic device performs communication; identify whether a time point at which the CSI of the channel changes and a time point at which the data rate of the first external electronic device changes match each other; and identify whether a space where the electronic device is located is captured by the first external electronic device based on whether the time point at which the CSI of the channel changes and the time point at which the data rate of the first external electronic device changes match each other. acquire , through the wireless communication module , data rate information of at least one external electronic device ; identify , among the at least one external electronic device based on the data rate information, a first external electronic device including a data rate pattern corresponding to a first condition; identify , through the wireless communication module, channel state information, CSI, of a channel in which the first external electronic device performs communication; identify whether a time point at which the CSI of the channel changes and a time point at which the data rate of the first external electronic device changes match each other; and identify whether a space where the electronic device is located is captured by the first external electronic device based on whether the time point at which the CSI of the channel changes and the time point at which the data rate of the first external electronic device changes match each other. <EOS>