Metaspoit HW Bridge

Is anyone working on metaspoit HW bridge support for carloop as described here…?
https://community.rapid7.com/community/transpo-security/blog/2017/02/02/exiting-the-matrix

Yup. I have a blog post about how to write your own Photon based HWBridge relays that will be out soon but in the meantime simply search for the spark-msf-relay library. You can add the carloop example app from that and it should just work.

Let me know if you have any problems.

Craig

Got it loaded on the particle and connecting in metasploit. Thanks! Still not actually talking on the CAN bus, but I think it’s likely a configuration issue.

Hmm. I don’t seem to be getting consistent responses from the device. Strangely, it always responds…but not always correctly.

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%           

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%                                                                                                                                          

curl http://10.0.0.28:8080/custom_methods
{ "Methods": [ { "method_name": "led",  "method_desc": "Changes the state of the LED",  "args": [    { "arg_name": "state", "arg_type": "string", "required": true }   ],  "return": "string" }  ] }%                                                                                                                                        

curl http://10.0.0.28:8080/custom_methods
{ "Methods": [ { "method_name": "led",  "method_desc": "Changes the state of the LED",  "args": [    { "arg_name": "state", "arg_type": "string", "required": true }   ],  "return": "string" }  ] }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "Methods": [ { "method_name": "led",  "method_desc": "Changes the state of the LED",  "args": [    { "arg_name": "state", "arg_type": "string", "required": true }   ],  "return": "string" }  ] }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "Methods": [ { "method_name": "led",  "method_desc": "Changes the state of the LED",  "args": [    { "arg_name": "state", "arg_type": "string", "required": true }   ],  "return": "string" }  ] }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "status", "not supported" }%                                                                                                                                         

curl http://10.0.0.28:8080/custom_methods
{ "Methods": [ { "method_name": "led",  "method_desc": "Changes the state of the LED",  "args": [    { "arg_name": "state", "arg_type": "string", "required": true }   ],  "return": "string" }  ] }%