• Stars
    star
    211
  • Rank 182,960 (Top 4 %)
  • Language
    Objective-C
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

sniff mouse and keyboard events

sniffMK

sniffMK is a simple utility designed to sniff mouse and keyboard events on macOS. It is based on code from amit singh's website; (http://osxbook.com)

It was designed to facilitate malware analysis (specifically OSX/FruitFly which can simulate both mouse and keyboard events - see BlackHat/DefCon slides for details).

Run sniffMK, as root, to start sniffing events:

# ./sniffMK
mouse/keyboard sniffer
based on code from amit singh (http://osxbook.com)

event: left mouse down
x: 821.285156
y: 727.726562

event: left mouse up
x: 821.285156
y: 727.726562

event: key down
key modifiers: shift 
keycode: 0x4/h

event: key up
keycode: 0x4/h

event: key down
keycode: 0x22/i

event: key up
keycode: 0x22/i

....

event: key down
key modifiers: control 
keycode: 0x8/c

To only capture mouse events, execute sniffMK with the -mouse commandline argument.
Similarly, execute it with the -keyboard commandline argument to only capture keyboard events.

More Repositories

1

LuLu

LuLu is the free macOS firewall
Objective-C
9,353
star
2

BlockBlock

BlockBlock provides continual protection by monitoring persistence locations.
Objective-C
615
star
3

OverSight

OverSight monitors a mac's mic and webcam, alerting the user when the internal mic is activated, or whenever a process accesses the webcam.
Objective-C
467
star
4

ProcessMonitor

Process Monitor Library (based on Apple's new Endpoint Security Framework)
Objective-C
413
star
5

ProcInfo

process info/monitoring library for macOS
Objective-C
411
star
6

KnockKnock

Enumerate persistently installed software
Objective-C
395
star
7

ReiKey

Malware and other applications may install persistent keyboard "event taps" to intercept your keystrokes. ReiKey can scan, detect, and monitor for such taps!
Objective-C
320
star
8

FileMonitor

File Monitor Library (based on Apple's new Endpoint Security Framework)
Objective-C
312
star
9

Netiquette

Network Monitor
Objective-C
294
star
10

DoNotDisturb

Detect Evil Maid Attacks
Objective-C
287
star
11

WhatsYourSign

WhatsYourSign adds a menu item to Finder.app. Simply right-, or control-click on any file to display its cryptographic signing information!
Objective-C
268
star
12

Malware

macOS Malware Collection
262
star
13

DNSMonitor

A DNS Monitor, leveraging Apple's NEDNSProxyProvider/Network Extension Framework
Objective-C
155
star
14

DumpBTM

And open-source version of % sfltool dumpbtm
Objective-C
102
star
15

AuRevoir

View and remove notification messages from Apple's "Notification Database"
Objective-C
96
star
16

TaskExplorer

Visually explore all running tasks (processes) ....viewing its signature status, loaded dylibs, open files, network connection, and much more.
Objective-C
79
star
17

DylibHijackScanner

Scan your computer for applications that are either susceptible to dylib hijacking or have been hijacked.
Objective-C
75
star
18

RansomWhere

Generic ransomware detector
Objective-C
73
star
19

ProcInfoExample

example project, utilizing Proc Info library
Objective-C
66
star
20

fromAppStore

checks if an application is pristine (untampered) and from the official Mac App Store
Objective-C
66
star
21

KextViewr

View all modules on that are loaded in the OS kernel
Objective-C
64
star
22

objective-see

21
star
23

Mach-O

A (basic) Mach-O Library
Objective-C
20
star
24

LockDown

Audits and remediates security configuration settings (El Capitan)
Objective-C
15
star
25

TAOMM

The Art of Mac Malware
Objective-C
13
star
26

products

Objective-See's Products
12
star
27

Ostiarius

Blocks unsigned internet binaries from executing (El Capitan)
Objective-C
8
star