Sysmon, A Lightweight Tool That Watches For Malicious System Activity

Mark Russinovich’s “Sysinternals Suite”, which includes the likes of Process Explorer, Process Monitor, Autoruns and TCPView, is one of the most invaluable collections of free tools ever assembled for Windows. Russinovich has just added a new weapon to this already comprehensive arsenal — Sysmon, a command-line program that watches for system events, particularly those associated with malicious behaviour.

Sysmon is similar to Process Monitor, in that it lets you record Windows events in real-time. It’s a great way to observe the actions of applications that aren’t working as they should and even track down nefarious processes. The difference with Sysmon is three-fold — it has no user interface and is instead launched from the command-line, after which it remains active; it can record the hashes of processes, using MD5, SHA1 or SHA256 and it can capture events during boot, where kernel-mode nasties tend to do their work.

To get it running, download the Sysmon ZIP from Microsoft, extract it to a convenient folder, crack open a terminal in that directory and type the following:

sysmon –i -accepteula –h md5 –n

This will install Sysmon as a resident program, monitoring network connections and creating hashes of new processes. You can replace “md5” with “sha256” or “sha1”, with the last of these being the default and more than good enough to avoid collisions.

Sysmon can also tell when a file has had its creation timestamp modified and in some cases, determine its actual creation date. As the tool’s page points out, this is common behaviour for a trojan or virus when it overwrites a system file and attempts to hide itself.

While Process Monitor scores higher in terms of user-friendliness, Sysmon has a place if you enjoy a more hands-on approach to system security. You don’t always need the bloat of a full anti-virus suite and with the exception of watching for virus signatures, Sysmon provides most of the “real-time” monitoring features the big-name (and non-free) packages provide.

Sysmon v1.0 [Microsoft, via ZDNet]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


2 responses to “Sysmon, A Lightweight Tool That Watches For Malicious System Activity”