-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Adding can_flood post exploitation for CAN #11595
Conversation
I'm not experienced enough with automotive tech to appropriately review this PR or test this module. Someone else will need to take it from here. Also, whoever reviews this PR will request module documentation for this module. |
Tagging @wvu-r7 as per #10127 (comment) |
… splits 3) Changed name of the module 4) removed DisclosureDate
Hi, thanks for reviewing my pull request. Regarding the loop, I could move the split operation out of the loop and access the data structure via a further "for loop" on a variable "index". Do you think it's more efficient? |
Yes, that would be better. |
Okay. Unfortunately at the moment I don't have my laptop with me, so I will make the changes on April 1st. |
@pietrobiondi: I'm happy to make some final changes and get this landed if you'd like. :) |
Hello @wvu-r7 , I apologize for the delay. Thanks for the time and suggestions. |
Please see my refactor of your loop here: f5f4c4b. |
Release NotesThe CAN-Flood post module can be used to flood a CAN interface with supplied frames. |
Hello, |
Thank YOU! |
Description
CAN-Flood is a post-exploitation module that floods a CAN interface for a number of rounds. Both the interface and the number of rounds are to be provided as inputs. An example list of frames also is part of the inputs, and sources the flooding at each round. The module therefore is general as it is parametric in the frame list.
What do you need
Verification
First, start up a virtual CAN bus:
sudo modprobe can
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
Then do the thing:
Start
msfconsole
use auxiliary/server/local_hwbridge
set uripath trycanbus
run
use auxiliary/client/hwbridge/connect
set targeturi trycanbus
run
use post/hardware/automotive/can_flood
set canbus vcan0
set session 1
run
Output msfconsole