id: samba-detect info: name: Samba Service Detection author: pussycat0x severity: info description: Samba is a free and open-source software that allows files to be shared across Windows and Linux systems simply and easily. reference: - https://www.samba.org/samba/what_is_samba.html - https://www.samba.org/samba/history/security.html classification: cwe-id: CWE-200 remediation: Always apply the latest security patch. tags: network,smb,samba network: - inputs: - data: 000000a4ff534d4272000000000801400000000000000000000000000000400600000100008100025043204e4554574f524b2050524f4752414d20312e3000024d4943524f534f4654204e4554574f524b5320312e303300024d4943524f534f4654204e4554574f524b5320332e3000024c414e4d414e312e3000024c4d312e3258303032000253616d626100024e54204c414e4d414e20312e3000024e54204c4d20302e313200 type: hex host: - "{{Hostname}}" - "{{Host}}:139" matchers: - type: word words: - "SMBr" # Enhanced by mp on 2022/02/09