Network Connection Initiated Via Notepad.EXE

Detects a network connection that is initiated by the "notepad.exe" process. This might be a sign of process injection from a beacon process or something similar. Notepad rarely initiates a network communication except when printing documents for example.

Sigma rule (View on GitHub)

 1title: Network Connection Initiated Via Notepad.EXE
 2id: e81528db-fc02-45e8-8e98-4e84aba1f10b
 3status: test
 4description: |
 5    Detects a network connection that is initiated by the "notepad.exe" process.
 6    This might be a sign of process injection from a beacon process or something similar.
 7    Notepad rarely initiates a network communication except when printing documents for example.    
 8references:
 9    - https://web.archive.org/web/20200219102749/https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1492186586.pdf
10    - https://www.cobaltstrike.com/blog/why-is-notepad-exe-connecting-to-the-internet
11author: EagleEye Team
12date: 2020-05-14
13modified: 2024-02-02
14tags:
15    - attack.command-and-control
16    - attack.execution
17    - attack.defense-evasion
18    - attack.t1055
19logsource:
20    category: network_connection
21    product: windows
22detection:
23    selection:
24        Image|endswith: '\notepad.exe'
25    filter_optional_printing:
26        DestinationPort: 9100
27    condition: selection and not 1 of filter_optional_*
28falsepositives:
29    - Printing documents via notepad might cause communication with the printer via port 9100 or similar.
30level: high

References

Related rules

to-top