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: 183
Rept. Given: 3
Rept. Rcvd 9 Times in 6 Posts
Thanks Given: 42
Thanks Rcvd at 157 Times in 61 Posts
Turkuaz Reputation: 9
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: 325
Rept. Given: 11
Rept. Rcvd 24 Times in 17 Posts
Thanks Given: 677
Thanks Rcvd at 622 Times in 230 Posts
user_hidden Reputation: 24
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: 183
Rept. Given: 3
Rept. Rcvd 9 Times in 6 Posts
Thanks Given: 42
Thanks Rcvd at 157 Times in 61 Posts
Turkuaz Reputation: 9
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: 183
Rept. Given: 3
Rept. Rcvd 9 Times in 6 Posts
Thanks Given: 42
Thanks Rcvd at 157 Times in 61 Posts
Turkuaz Reputation: 9
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: 183
Rept. Given: 3
Rept. Rcvd 9 Times in 6 Posts
Thanks Given: 42
Thanks Rcvd at 157 Times in 61 Posts
Turkuaz Reputation: 9
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,305
Rept. Given: 337
Rept. Rcvd 237 Times in 127 Posts
Thanks Given: 340
Thanks Rcvd at 652 Times in 357 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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intercepting web requests from an application and modifying response Sailor_EDA General Discussion 8 05-06-2017 03:51
Highly self modifying code chants General Discussion 1 09-21-2016 17:46
Modifying Assembly Attributes (.NET) The Old Pirate General Discussion 7 05-11-2015 00:15
Capturing Another Application's Network Traffic aldente General Discussion 9 11-09-2006 06:48
Modifying resources of self-checking exe c4p0ne General Discussion 8 09-17-2004 21:32


All times are GMT +8. The time now is 07:39.


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