Suspicious Processes Spawned by Java.EXE

Detects suspicious processes spawned from a Java host process which could indicate a sign of exploitation (e.g. log4j)

Sigma rule (View on GitHub)

 1title: Suspicious Processes Spawned by Java.EXE
 2id: 0d34ed8b-1c12-4ff2-828c-16fc860b766d
 3related:
 4    - id: dff1e1cc-d3fd-47c8-bfc2-aeb878a754c0
 5      type: similar
 6status: test
 7description: Detects suspicious processes spawned from a Java host process which could indicate a sign of exploitation (e.g. log4j)
 8references:
 9    - https://web.archive.org/web/20231230220738/https://www.lunasec.io/docs/blog/log4j-zero-day/
10author: Andreas Hunkeler (@Karneades), Florian Roth
11date: 2021-12-17
12modified: 2024-01-18
13tags:
14    - attack.initial-access
15    - attack.persistence
16    - attack.privilege-escalation
17logsource:
18    category: process_creation
19    product: windows
20detection:
21    selection:
22        ParentImage|endswith: '\java.exe'
23        Image|endswith:
24            - '\AppVLP.exe'
25            - '\bitsadmin.exe'
26            - '\certutil.exe'
27            - '\cscript.exe'
28            - '\curl.exe'
29            - '\forfiles.exe'
30            - '\hh.exe'
31            - '\mftrace.exe'
32            - '\mshta.exe'
33            - '\net.exe'
34            - '\net1.exe'
35            - '\query.exe'
36            - '\reg.exe'
37            - '\regsvr32.exe'
38            - '\rundll32.exe'
39            - '\schtasks.exe'
40            - '\scrcons.exe'
41            - '\scriptrunner.exe'
42            - '\sh.exe'
43            - '\systeminfo.exe'
44            - '\whoami.exe'
45            - '\wmic.exe'        # https://app.any.run/tasks/c903e9c8-0350-440c-8688-3881b556b8e0/
46            - '\wscript.exe'
47    condition: selection
48falsepositives:
49    - Legitimate calls to system binaries
50    - Company specific internal usage
51level: high

References

Related rules

to-top