Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.87 KB

File metadata and controls

46 lines (24 loc) · 1.87 KB

We can use python code for bacnet simulator for windows or using bacnet tools for running server

For test we can use yabe program(Download link:https://sourceforge.net/projects/yetanotherbacnetexplorer/)

I tested connection to bacnet server with caldera for pentest OT/IOT device with OT madule in caldera

Caldera OT Module link: https://github.com/mitre/caldera-ot

Use the default IP address to configure the BBMD and Foreign Device environment variables: bvlc.bat 10.0.2.1

OR use this command: set BACNET_IP_PORT=47809 set BACNET_BBMD_PORT=47808 set BACNET_BBMD_ADDRESS=10.0.2.1

bvlc.bat batch file configures environment variables to use BACnet/IP port 47809 for any subsequent BACnet tools run from that command prompt window, and enables the BBMD Foreign Device Registration.

Perform a device discovery: bacwi -1

Run Bacnet Server:

bacserv 1234

set BACNET_IP_PORT=47809 set BACNET_BBMD_PORT=47808 set BACNET_BBMD_ADDRESS=10.0.2.1 bacwi

Caldera Commands:

set BACNET_IP_PORT=47809&set BACNET_BBMD_PORT=47808&set BACNET_BBMD_ADDRESS=10.0.2.1&C:\Users\parastoo\Desktop\parastoo-bacnet\bacrp.exe 1234 0 2 9998

set BACNET_IP_PORT=47809&set BACNET_BBMD_PORT=47808&set BACNET_BBMD_ADDRESS=10.0.2.1&C:\Users\parastoo\Desktop\parastoo-bacnet\bacepics.exe 1234

set BACNET_IP_PORT=47809&set BACNET_BBMD_PORT=47808&set BACNET_BBMD_ADDRESS=10.0.2.1&C:\Users\parastoo\Desktop\parastoo-bacnet\bacwp.exe 1234 1 1 85 16 -1 4 100.0

bacwp 1234 1 1 85 16 -1 4 100.0

Sample video from run command from caldera on bacnet Server (For Complete videos please see my youtube channel:https://www.youtube.com/channel/UCsNjvxeiQBMV5-2IW_YSr2g)

caldera-whois-sample.mp4

Bacnet simulator python code :

Bacnet.python.code.simulator.mp4