FortiNAC-F
FortiNAC-F is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks. For legacy FortiNAC articles prior to FortiNAC-F 7.2, see FortiNAC.
sjerry
Staff
Staff
Article Id 419899
Description This article provides an example of how to use a regular expression condition with device profiling rules.
Scope nacOS.
Solution

Assuming that an IP address from the host is obtained, and can do a NMAP scan. 


Perform a NMAP Scan: Users & Hosts -> Adapters -> 'Right click' -> NMAP Scan.

adapter.png

 

reg.png


When using more than one port, the following command can be executed:

 

(?s).*?(22|80)\/tcp\s+open.*?​

 

Singular conditions would be as follows:

 

22/tcp