-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix examples in architecture.xml, ftp_banners.xml, and ssh_banners.xml #406
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,7 +202,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example> | |
|
||
<fingerprint pattern="^ProFTPD (\d+\.[^\s]+) Server \(Linksys(W.+)\) \[(.+)\]$"> | ||
<description>ProFTPD on a Linksys Wireless Access Point/Router</description> | ||
<example service.version="1.3.0rc2" os.product="WRT350N" host.name="host">ProFTPD 1.3.0rc2 Server (LinksysWRT350N) [host]</example> | ||
<example service.version="1.3.0rc2" os.product="WRT350N" hw.product="WRT350N" host.name="host">ProFTPD 1.3.0rc2 Server (LinksysWRT350N) [host]</example> | ||
<param pos="0" name="service.family" value="ProFTPD"/> | ||
<param pos="0" name="service.vendor" value="ProFTPD Project"/> | ||
<param pos="0" name="service.product" value="ProFTPD"/> | ||
|
@@ -211,6 +211,8 @@ example.com FTP server (Version: Mac OS X Server) ready.</example> | |
<param pos="0" name="os.vendor" value="Linksys"/> | ||
<param pos="0" name="os.device" value="WAP"/> | ||
<param pos="2" name="os.product"/> | ||
<param pos="0" name="hw.vendor" value="Linksys"/> | ||
<param pos="2" name="hw.product"/> | ||
<param pos="3" name="host.name"/> | ||
</fingerprint> | ||
|
||
|
@@ -241,19 +243,6 @@ example.com FTP server (Version: Mac OS X Server) ready.</example> | |
<param pos="1" name="host.name"/> | ||
</fingerprint> | ||
|
||
<fingerprint pattern="^ProFTPD (\d+\.[^\s]+) Server \(Linksys(.*)\) \[(.+)\]$"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like a duplicate of what's above. All the examples I've found start with W (WRTxxx). Also, it fails if I keep it since the example in this one was matching the earlier fingerprint and causing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The regex in both of the fingerprints remains unchanged since the initial commit 8 years ago. As you mentioned the only real difference is the I've checked some of our datasets (all ports, going back years) and I do NOT see any matches for this fingerprint in them. ++ to seeing this FP removed. |
||
<description>ProFTPD on a wired Linksys device</description> | ||
<param pos="0" name="service.family" value="ProFTPD"/> | ||
<param pos="0" name="service.vendor" value="ProFTPD Project"/> | ||
<param pos="0" name="service.product" value="ProFTPD"/> | ||
<param pos="1" name="service.version"/> | ||
<param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:{service.version}"/> | ||
<param pos="0" name="os.vendor" value="Linksys"/> | ||
<param pos="0" name="os.device" value="Router"/> | ||
<param pos="2" name="os.product"/> | ||
<param pos="3" name="host.name"/> | ||
</fingerprint> | ||
|
||
<fingerprint pattern="^ProFTPD (\d+\.[^\s]+) Server \((.*)\) \[(.+)\]$"> | ||
<description>ProFTPD with version info but no obvious OS info</description> | ||
<example service.version="1.2.10" proftpd.server.name="Main FTP Server" host.name="host">ProFTPD 1.2.10 Server (Main FTP Server) [host]</example> | ||
|
@@ -611,6 +600,7 @@ more text</example> | |
|
||
<fingerprint pattern="^---freeFTPd 1.0---warFTPd 1.65---$"> | ||
<description>Nepenthes honeypot</description> | ||
<example>---freeFTPd 1.0---warFTPd 1.65---</example> | ||
<param pos="0" name="service.family" value="Nepenthes"/> | ||
<param pos="0" name="service.product" value="Nepenthes"/> | ||
</fingerprint> | ||
|
@@ -693,9 +683,9 @@ more text</example> | |
<param pos="0" name="os.device" value="IP Camera"/> | ||
</fingerprint> | ||
|
||
<fingerprint pattern="(?i)^AXIS (\S+) (?:(?:Mk II )?Video) (?:Encoder|Encoder Blade|Module|Server|Decoder) (\S+)"> | ||
<fingerprint pattern="(?i)^AXIS (\S+) (?:(?:Mk II )?Video) (?:Encoder(?: Blade)?|Module|Server|Decoder) (\S+)"> | ||
<description>Axis Video encoders/servers</description> | ||
<example hw.product="Q7406" hw.version="Blade">AXIS Q7406 Video Encoder Blade 5.01 (Aug 01 2008) ready.</example> | ||
<example hw.product="Q7406" hw.version="5.01">AXIS Q7406 Video Encoder Blade 5.01 (Aug 01 2008) ready.</example> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, unexpected capture due to optional string ordering. That's an interesting catch, thanks! |
||
<example hw.product="241Q" hw.version="4.47.2">AXIS 241Q Video Server 4.47.2 (Dec 11 2008) ready.</example> | ||
<example hw.version="5.07.2" hw.product="P7701">AXIS P7701 Video Decoder 5.07.2 (Apr 20 2010) ready.</example> | ||
<example hw.product="Q7401" hw.version="5.01">AXIS Q7401 Video Encoder 5.01 (Aug 01 2008) ready.</example> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is os.device a thing? I thought this was hw.device, but I see os.device everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a thing but it is used incorrectly more often than not. Also, in almost every case it should be paired with
hw.device
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any suggestions on what to do with this? You marked a few hw.device etc. in #400 that need to be corrected. We probably just need to audit the file specifically for all of those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add
hw.device
to this FP but honestly we need to perform an audit and fix them so either way is fine.