asset-group / 5ghoul-5g-nr-attacks

GNU General Public License v2.0
484 stars 82 forks source link

Using Docker Container run error #7

Closed shuimoshusheng closed 6 months ago

shuimoshusheng commented 6 months ago

CPU:AMD Ryzen 7 7840HS Memory: 32GB SDR: USRP B210

Run the command ./container.sh run release-5g Start the container and use the command sudo bin/5g_ Fuzzer -- MCC=001-- MNC=01-- Enabling Mutation=true Executes the fuzz program with the following error!

[Optimizer] Optimization disabled. Using default population:
--------------------------------------------------------
[Optimizer] Iter=1  Params=[0.2,0.2,0.2,0.2,0.2,0.2,...,0.2]
[Optimizer] Fitness=1e+06  Adj. Fitness=-1e+06
Mutation Probability: 0.2
--------------------------------------------------------
[Optimizer] Initialized with X Size=293, Population Size=5
[PacketHandler] Added "proto:nas-5gs", Dir:0, Realtime:0, TID:2175
[PacketHandler] Added "proto:nas-5gs", Dir:1, Realtime:0, TID:2176
[PacketHandler] Added "proto:pdcp-nr-framed", Dir:0, Realtime:1, TID:2177
[PacketHandler] Added "proto:pdcp-nr-framed", Dir:1, Realtime:1, TID:2188
[PacketHandler] Added "proto:mac-nr-framed", Dir:0, Realtime:1, TID:2189
[PacketHandler] Added "proto:mac-nr-framed", Dir:0, Realtime:1, TID:2194
[PacketHandler] Added "proto:mac-nr-framed", Dir:1, Realtime:0, TID:2196
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
[GlobalTimeout] Timeout triggered. TimeoutCounter=1, TotalTimeoutCounter=1
[GlobalTimeout] Signalling WDAnomalyReport
[AnomalyReport] [Timeout] Target is not responding
[PacketLogger] Packet Number:21, Comment: [Timeout] Target is not responding
--------------------------------------------------------
[Optimizer] Iter=1  Params=[0.2,0.2,0.2,0.2,0.2,0.2,...,0.2]
[Optimizer] Fitness=0  Adj. Fitness=-0
Mutation Probability: 0.2
--------------------------------------------------------
[GlobalTimeout] Restarting ProcessRunner
[!] Base-Station process stopped
[GlobalTimeout] Restarting ProcessRunner
[!] Open5GS stopped
[GlobalTimeout] Signalling SvcUSBHubControl
[GlobalTimeout] Signalling SvcModemManager
[ModemManager] Reconnection Timeout (4000 ms)
[GlobalTimeout] Timeout Finished with 6 callbacks executed
[!] Base-Station process stopped
[!] Base-Station process stopped
[!] Base-Station process stopped
alphafox02 commented 6 months ago

Are you using a VM by chance to run the docker? Within the docker can you run uhd_find_devices does it find the b210?

shuimoshusheng commented 6 months ago

@alphafox02 Ubuntu is the host computer, not a virtual machine. I can't find a USB device, it should be because there is some problem with the USB on my NCU computer. Thank you!