Skip to content

Instantly share code, notes, and snippets.

View abarisani's full-sized avatar

Andrea Barisani abarisani

View GitHub Profile
@abarisani
abarisani / usb_fingerprinting.md
Last active May 5, 2022 11:47
Fingerprinting USB enumeration from different hosts

Introduction

The following information illustrates the differences between macOS, Windows and Linux in USB device enumeration sequence.

Specifically the comparison covers USB Mass Storage device enumeration, implemented with the TamaGo USB driver on a USB armory Mk II running armory-ums.

@abarisani
abarisani / af_alg_skcipher-test.go
Last active April 6, 2019 19:49
Golang userspace example for Linux Crypto API symmetric cipher
// Golang userspace example for Linux Crypto API symmetric cipher
//
// Copyright (c) F-Secure Corporation
//
// Andrea Barisani
// andrea.barisani@f-secure.com | andrea@inversepath.com
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation under version 3 of the License.