{"id":"e81528db-fc02-45e8-8e98-4e84aba1f10b","title":"Network Connection Initiated Via Notepad.EXE","description":"Detects a network connection that is initiated by the \"notepad.exe\" process.\nThis might be a sign of process injection from a beacon process or something similar.\nNotepad rarely initiates a network communication except when printing documents for example.\n","author":"EagleEye Team","status":"test","level":"high","date":"2020-05-14","modified":"2024-02-02","tags":["attack.privilege-escalation","attack.command-and-control","attack.execution","attack.stealth","attack.t1055"],"technique_ids":["T1055"],"logsource":{"category":"network_connection","product":"windows"},"falsepositives":["Printing documents via notepad might cause communication with the printer via port 9100 or similar."],"references":["https://web.archive.org/web/20200219102749/https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1492186586.pdf","https://www.cobaltstrike.com/blog/why-is-notepad-exe-connecting-to-the-internet"],"source_path":"rules/windows/network_connection/net_connection_win_notepad.yml","source_sha256":"ff5318a5ed4b30eca2dc9b339a48728d44aefc6a941b129bb3349febcb8e535e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/network_connection/net_connection_win_notepad.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Network Connection Initiated Via Notepad.EXE\nid: e81528db-fc02-45e8-8e98-4e84aba1f10b\nstatus: test\ndescription: |\n    Detects a network connection that is initiated by the \"notepad.exe\" process.\n    This might be a sign of process injection from a beacon process or something similar.\n    Notepad rarely initiates a network communication except when printing documents for example.\nreferences:\n    - https://web.archive.org/web/20200219102749/https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1492186586.pdf\n    - https://www.cobaltstrike.com/blog/why-is-notepad-exe-connecting-to-the-internet\nauthor: EagleEye Team\ndate: 2020-05-14\nmodified: 2024-02-02\ntags:\n    - attack.privilege-escalation\n    - attack.command-and-control\n    - attack.execution\n    - attack.stealth\n    - attack.t1055\nlogsource:\n    category: network_connection\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\notepad.exe'\n    filter_optional_printing:\n        DestinationPort: 9100\n    condition: selection and not 1 of filter_optional_*\nfalsepositives:\n    - Printing documents via notepad might cause communication with the printer via port 9100 or similar.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1055","id":"T1055","name":"Process Injection","page":"techniques/enterprise/T1055/"}],"data_path":"data/detection-rules/e81528db-fc02-45e8-8e98-4e84aba1f10b.json","kind":"sigma"}
