Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
title: Ligolo-ng Tunneling Tool Execution
id: 0074da8e-5b3f-456b-9bf9-70beaf4bfb0d
status: experimental
description: Detects execution of Ligolo-ng agent or proxy, a tunneling tool commonly used for network pivoting in penetration testing and by threat actors
references:
- https://github.com/nicocha30/ligolo-ng
- https://attack.mitre.org/techniques/T1572/
author: MAB
date: 2025/12/31
tags:
- attack.command_and_control
- attack.t1572
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith:
- '\agent.exe'
- '\proxy.exe'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- '\agent.exe'
- '\proxy.exe'

These names are also very generic. When writing a rule about hktl,
we try to use the very specific process names, originalfilename or imphash.

In some cases, we also use command lines that may include combinations of flags or any specific strings which is unique to that specific tool only.

Please have a look at other HKTL or PUA rules on the repo for better understanding and make the changes accordingly.
Thanks

- '\ligolo-agent.exe'
- '\ligolo-proxy.exe'
- OriginalFileName|contains: 'ligolo'
selection_cli:
CommandLine|contains:
- '-connect'
- '-ignore-cert'
- '-selfcert'
Comment on lines +27 to +35
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

many tools use that type of cli option.
You can not have a high rule with many FP.
Look at https://github.com/SigmaHQ/sigma/blob/6fe7343bf79306884b05837d5e03bcbcb141ce50/rules/windows/process_creation/proc_creation_win_nltest_recon.yml as example.

Comment on lines +25 to +35
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like the best option possible, but i think the selection might still be prone to FPS issues? What are your thoughts on this, @nasbench?

- 'ligolo'
condition: selection_img or selection_cli
falsepositives:
- Legitimate penetration testing activities
- Red team exercises
level: high
Loading