Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2024, 01:16
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 173
Rept. Given: 3
Rept. Rcvd 8 Times in 5 Posts
Thanks Given: 40
Thanks Rcvd at 146 Times in 56 Posts
Turkuaz Reputation: 8
Intercepting then modifying USB traffic

Hello all,
I am working on a licenced prog. It is protected by license files on a memory stick, licence is related to serial number of the memory stick. Because of this it is not working if you copy licence files to another memory stick.

I wonder if it is possible to listen USB traffic, then intercept and change SerialNo in the related USB traffic. I mean to fake serial number of a memory stick.

I am working on hardware solution but software solution would be nicer.

Any idea and help welcome.
Reply With Quote
The Following User Says Thank You to Turkuaz For This Useful Post:
niculaita (10-23-2024)
  #2  
Old 10-23-2024, 03:15
user_hidden user_hidden is offline
Family
 
Join Date: May 2016
Posts: 252
Rept. Given: 5
Rept. Rcvd 20 Times in 14 Posts
Thanks Given: 454
Thanks Rcvd at 475 Times in 180 Posts
user_hidden Reputation: 20
i know this maybe a little simple but i remember back in the day i had to make sure the
volume serial numbers matched on the "cloned" stick. did you do that in your test?
Reply With Quote
  #3  
Old 10-23-2024, 03:43
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 173
Rept. Given: 3
Rept. Rcvd 8 Times in 5 Posts
Thanks Given: 40
Thanks Rcvd at 146 Times in 56 Posts
Turkuaz Reputation: 8
Quote:
Originally Posted by user_hidden View Post
i know this maybe a little simple but i remember back in the day i had to make sure the
volume serial numbers matched on the "cloned" stick. did you do that in your test?
I wish it was so easy.
Not volume serial number. I mean hardware serial number embedded in the firmware.
Reply With Quote
  #4  
Old 10-23-2024, 05:11
h4sh3m h4sh3m is offline
Friend
 
Join Date: Aug 2016
Location: RCE
Posts: 61
Rept. Given: 1
Rept. Rcvd 4 Times in 2 Posts
Thanks Given: 54
Thanks Rcvd at 81 Times in 35 Posts
h4sh3m Reputation: 4
DeviceIoControl ?!
Reply With Quote
  #5  
Old 10-23-2024, 05:19
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 173
Rept. Given: 3
Rept. Rcvd 8 Times in 5 Posts
Thanks Given: 40
Thanks Rcvd at 146 Times in 56 Posts
Turkuaz Reputation: 8
Quote:
Originally Posted by h4sh3m View Post
DeviceIoControl ?!
You mean hooking DeviceIoControl?
Reply With Quote
The Following User Says Thank You to Turkuaz For This Useful Post:
niculaita (10-24-2024)
  #6  
Old 10-23-2024, 06:22
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 173
Rept. Given: 3
Rept. Rcvd 8 Times in 5 Posts
Thanks Given: 40
Thanks Rcvd at 146 Times in 56 Posts
Turkuaz Reputation: 8
I forgot to say it is .Net programme and uses System.Management class to get USB Drive info
Reply With Quote
  #7  
Old 10-23-2024, 13:20
sendersu sendersu is offline
VIP
 
Join Date: Oct 2010
Posts: 1,174
Rept. Given: 334
Rept. Rcvd 233 Times in 123 Posts
Thanks Given: 277
Thanks Rcvd at 568 Times in 316 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
For .net interception I'd recommend from my past experience libHarmony - https://github.com/pardeike/Harmony
Reply With Quote
Reply

Tags
usb dongle, usb traffic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 16:46.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )