Skip to content
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

Nmap Error: 'Error compiling our pcap filter: expression rejects all packets' #739

Open
Msilawedada opened this issue Jul 1, 2024 · 6 comments

Comments

@Msilawedada
Copy link

Im having an issue when I use the metasploit through Nord VPN. I'm getting the following error

[] [2024.07.01-10:43:00] Nmap Output: Starting Nmap 7.91 ( https://nmap.org ) at 2024-07-01 10:43 South Africa Standard Time
**[
] [2024.07.01-10:43:00] Nmap Error: 'Error compiling our pcap filter: expression rejects all packets'**
[] [2024.07.01-10:43:00] Nmap Results: Importing scan data.
[+] [2024.07.01-10:43:01] Workspace:TEST03 Beginning step 3/176 Sweeping 1XX.1XX.1XX.1XX with UDP probes - Progress: 1%
[
] [2024.07.01-10:43:01] Sending 13 probes to 1XX.1XX.1XX.1XX->1XX.1XX.1XX.1XX (1 hosts)
[] [2024.07.01-10:43:02] Discovered DNS on 1XX.1XX.1XX.1XX:53 (8f38838000010000000000000756455253494f4e0442494e440000100003)
[+] [2024.07.01-10:43:16] Workspace:TEST03 Beginning step 63/176 Sweeping 1XX.1XX.1XX.1XX with VxWorks probes - Progress: 35%
[+] [2024.07.01-10:43:27] Workspace:TEST03 Beginning step 172/176 Normalizing system information - Progress: 97%
[
] [2024.07.01-10:43:27] Beginning step 1/2 Normalizing 1XX.1XX.1XX.1XX - Progress: 0%
[] [2024.07.01-10:43:27] Beginning step 2/2 Normalization complete - Progress: 50%
[+] [2024.07.01-10:43:27] Workspace:TEST03 Beginning step 173/176 Identifying unknown services - Progress: 97%
[+] [2024.07.01-10:43:27] Workspace:TEST03 Beginning step 174/176 Normalizing system information for newly identified services - Progress: 98%
[
] [2024.07.01-10:43:27] Beginning step 1/2 Normalizing 1XX.1XX.1XX.1XX - Progress: 0%
[] [2024.07.01-10:43:27] Beginning step 2/2 Normalization complete - Progress: 50%
[+] [2024.07.01-10:43:27] Workspace:TEST03 Beginning step 175/176 Sweeping newly found services - Progress: 98%
[+] [2024.07.01-10:43:27] Workspace:TEST03 Beginning step 176/176 Normalizing system information for newly identified services - Progress: 99%
[
] [2024.07.01-10:43:27] Beginning step 1/2 Normalizing 1XX.1XX.1XX.1XX - Progress: 0%
[] [2024.07.01-10:43:27] Beginning step 2/2 Normalization complete - Progress: 50%
[
] [2024.07.01-10:43:27] Sweep of 1XX.1XX.1XX.1XX-1XX.1XX.1XX.1XX complete (0 new hosts, 0 new services)
[*] [2024.07.01-10:43:27] Scanned 1 of 1 hosts (100% complete)
[+] [2024.07.01-10:43:27] Workspace:TEST03 Task Completed - Progress: 100%

However when I change the connection to use my WIFI things seem to be fine.

@guyharris
Copy link
Contributor

Error compiling our pcap filter: expression rejects all packets

Perhaps your pcap filter cannot possibly match any packets on the interface on which you're capturing.

On what type of interface are you capturing, and what is your filter?

@Msilawedada
Copy link
Author

Msilawedada commented Jul 1, 2024

Nmap pcap "NPCAP" v1.79 and on NordLynx adaptor for Nord VPN.

@guyharris
Copy link
Contributor

Nmap pcap "NPCAP" v1.79 and on NordLynx adaptor for Nord VPN.

What is the filter expression you're using?

@Msilawedada
Copy link
Author

The nmap in this case is invoked by Metasploit and I hit that error only when I'm connected to my VPN. Npcap is added as a driver to NordLynx adaptor.

@guyharris
Copy link
Contributor

The nmap in this case is invoked by Metasploit

What is the filter that NordLynx is using?

@Msilawedada
Copy link
Author

NordLynx is tunneling traffic and not sure how to check filtering on it. I tried with Proxy Switcher and the connection worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants