Pfsense -audit

patch-1
pussycat0x 2023-03-16 23:04:50 +05:30 committed by GitHub
parent 49d9d624ef
commit 82c8bb084c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 112 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: configure-dns-server
info:
name: Configure DNS Server
author: pussycat0x
severity: info
description: |
The purpose DNs server is to perform the resolution of system hostnames to Internet Protocol (IP) addresses.
reference: |
https://docs.netgate.com/pfsense/en/latest/recipes/dns-over-tls.html
tags: firewall,config,audit,pfsense,file
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<dnsserver>"
negative: true
- type: word
words:
- "<system>"

View File

@ -0,0 +1,29 @@
id: configure-session-timeout
info:
name: Configure Sessions Timeout
author: pussycat0x
severity: info
description: |
Indefinite or even long session timeout window increase the risk of attackers abusing abandoned sessions.
reference: |
https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
tags: firewall,config,audit,pfsense,file
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<session_timeout>"
- "<session_timeout>0</session_timeout>"
condition: or
negative: true
- type: word
words:
- "<webgui>"
- "<system>"

View File

@ -0,0 +1,28 @@
id: enable-https-protocol
info:
name: Enable HTTPS on Web Management
author: pussycat0x
severity: info
description: |
Web Admin Management Portal should only be accessed using HTTPS Protocol.HTTP transmits all data (including passwords) in clear text over the network and
provides no assurance of the identity of the hosts involved.
reference: |
https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
tags: firewall,config,audit,pfsense,file
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<webgui>"
- "<protocol>https</protocol>"
negative: true
- type: word
words:
- "<system>"

View File

@ -0,0 +1,29 @@
id: password-protected-consolemenu
info:
name: Configure Password Protected on Console Menu
author: pussycat0x
severity: info
description: |
An unattended computer with an open Console Menu session to the device could allow an unauthorized user access to the firewalls management.
reference: |
https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
tags: firewall,config,audit,pfsense,file
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<disableconsolemenu>"
- "<disableconsolemenu>1</disableconsolemenu>"
condition: or
negative: true
- type: word
words:
- "<webgui>"
- "<system>"