How nejcpirecnik/devil-s-cupid works
Main Components
a. Client-Side Components (Attack Vector):
• Rubber Ducky USB Device (Entry Point)
• Target Windows Machine
• PowerShell Script Execution Environment
b. Server-Side Components:
• DropBox API/Storage
• Attacker's Collection Point
Flow and Relationships
[Physical Layer] [Execution Layer] [Storage Layer] [Collection Layer]
Rubber Ducky → Target Windows → DropBox API → Attacker's Access
(inject.bin) (PowerShell) (Credentials) (Retrieved Data)
Specific Elements
a. Components:
b. Data Flows:
• USB HID injection → PowerShell execution
• PowerShell → Fake authentication popup
• Credentials → DropBox upload
• DropBox → Attacker access
Technical Details
• HID Injection mechanism
• PowerShell execution parameters (-w h -NoP -NonI -Exec Bypass)
• DropBox API integration points
• Authentication token flow
• Credential capture mechanism
Important Notes
• "Leaves no trace" feature
• Required permissions for DropBox API
• Token authentication flow
• File delivery mechanism