alphasoc / flightsim

A utility to safely generate malicious network traffic patterns and evaluate controls.
https://alphasoc.com
Other
1.27k stars 134 forks source link

cmd/run: failed dns probe for any reason should not be fatal #52

Closed kmroz closed 2 years ago

kmroz commented 3 years ago

Hopefully fixes #51; definitely fixes the breakage I introduced for Windows.

kmroz commented 3 years ago

Here's what we'll have (windows):

.\flightsim.exe run c2

AlphaSOC Network Flight Simulator™  (https://github.com/alphasoc/flightsim)
The address of the network interface for IP traffic is 10.132.0.8
The address of the network interface for DNS queries is UNKNOWN, system defaults will be used
The current time is 02-Nov-21 15:01:57

15:01:57 [c2] Preparing a random sample of C2 domains
15:01:57 [c2] Resolving www.cmfsports.com
...

.\flightsim.exe run -iface Ethernet c2

AlphaSOC Network Flight Simulator™  (https://github.com/alphasoc/flightsim)
The address of the network interface for IP traffic is 10.132.0.8
The address of the network interface for DNS queries is 10.132.0.8
The current time is 02-Nov-21 15:01:40

15:01:40 [c2] Preparing a random sample of C2 domains
15:01:40 [c2] Resolving marksidfg.ug
...