2023-09-27 07:18:10 +00:00
id : smb-enum
info :
name : SMB - Enumeration
author : pussycat0x
severity : info
description : |
SMS Information Extraction is a sophisticated and efficient system designed to retrieve critical information from a remote computer or device through short text messages. This technology enables users to remotely access essential details about a computer, such as its operating system (OS) version, computer name, and hostname,
all via SMS communication.
reference :
- https://nmap.org/nsedoc/scripts/smb-security-mode.html
metadata :
2023-10-31 10:54:20 +00:00
max-request : 1
shodan-query : port:445
2023-09-27 07:18:10 +00:00
verified : true
tags : js,network,smb,enum
javascript :
- code : |
var m = require("nuclei/smb");
var c = m.SMBClient();
var response = c.ListSMBv2Metadata(Host, Port);
to_json(response);
args :
Host : "{{Host}}"
Port : "445"
extractors :
- type : json
name : OSVersion
json :
- '.OSVersion'
- type : json
name : NetBIOSComputerName
json :
- '.NetBIOSComputerName'
- type : json
name : NetBIOSDomainName
json :
- '.NetBIOSDomainName'
- type : json
name : DNSComputerName
json :
- '.DNSComputerName'
- type : json
name : DNSDomainName
json :
- '.DNSDomainName'
2023-10-23 07:04:05 +00:00
# digest: 4b0a00483046022100f7c74a49f323b57e595d758fe7dd562e10ffa9273262554d9d6681c8eb722b25022100d89ab2fa7ee6799b67937bfe75b92a101528326797c90c2e216dd73ae7c13923:922c64590222798bb761d5b6d8e72950