Bios Password

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, September 8, 2012

Network Miner Updating on Ubuntu 12.04

Posted on 11:41 AM by Unknown

I keep a Ubuntu 12.04 build updated and running to stay current with Linux things. Besides a few disk and sector-editing applications, I also keep a copy of Xplico present. Now that Network Miner is supported in Mono on Linux, I run it as well in Ubuntu.

So when Network Miner was recently updated and released at version 1.4.1, I downloaded it in both the Windows binary as well as in my (VirtualBox) Ubuntu system.

  • NetworkMiner 1.4 Released - NETRESEC Blog

Only after I got done updating it in Ubuntu, it didn’t start so well.

Unable to start NetworkMiner
Access to the path “/opt/NetworkMiner 1-4-1/AssembledFiles/cache” is denied.

0yi5kzmg.run

Hmm.

For kicks I relaunched the version 1.3 of NetworkMiner I was previously running and it did fine.

kq4rx2kv.qwq

So what the haps Ubuntu/Network Miner?

Turns out it was (again) my noobie Ubuntu skills.

Going back to the original “how-to” post in December 2011 for getting NetworkMiner to work on Linux this is what I did originally to get NetworkMiner working.

First I copied the following text as a block-copy from the post above, making a few minor changes to reflect the new version.

wget sourceforge.net/projects/networkminer/files/latest -O /tmp/networkminer.zip
sudo unzip /tmp/networkminer.zip -d /opt/
cd /opt/NetworkMiner_1-4-1
sudo chmod +x NetworkMiner.exe
sudo chmod -R go+w AssembledFiles/
sudo chmod -R go+w Captures/
mono NetworkMiner.exe

Note I left off the first line of the original text since I had Mono already installed. I also modified the third line above to point to (what I believed) would be the correct build number based on the NetworkMiner-1.4.1 SourceForge.net page.

I then pasted that block text into a terminal session (which has generally worked before) and let it rip.

I thought it did everything required.

I then launched it from the terminal:

mono /opt/NetworkMiner_1-4-1/NetworkMiner.exe

Which got me the error.

1ezsayqi.md4

I quickly realized my mistake(s).

I was being lazy and copy/pasting the block and expecting it to execute in sequence. In this case…wrong! A review of the terminal output showed that it halted after unzipping the package.

I needed to next manually run the additional commands;

    cd /opt/NetworkMiner_1-4-1
    sudo chmod +x NetworkMiner.exe
    sudo chmod -R go+w AssembledFiles/
    sudo chmod -R go+w Captures/
    mono NetworkMiner.exe

    That did the trick.

    4zbqqqb3.p1z

    If I hadn’t been so excited in trying to get the new version running and had read the NetSec post carefully I would have realized this bit was important:

    The reason for setting write permission to the AssembledFiles folder is because this is the directory to where extracted files are written. If you prefer to instead have the files extracted to /tmp or the user's home directory, then simply move the AssembledFiles directory to your desired location and create a symlink to it in the NetworkMiner directory (hat tip to Lenny Zeltser for this idea).

    Another way you seem to be able to get it to work without those extra lines is to just run this command after first unzipping to the /opt/ location:

    sudo unzip /tmp/networkminer.zip -d /opt/

    sudo mono /opt/NetworkMiner_1-4-1/NetworkMiner.exe

    Running it in an elevated “sudo” session at first could be “risky” but seems to set the required permissions OK.

    Then close it and relaunch it form then on with this command:

    mono /opt/NetworkMiner_1-4-1/NetworkMiner.exe

    Anyway, it was a noobie Ubuntu user mistake, but hopefully this post will help make future NetworkMiner updates a bit smoother in the future. Just be sure to change the version number in the lines you use above accordingly.

    Cheers!

    --Claus V.

    PS -- I just found this morning upon launching VirtualBox that yesterday Oracle released Virtual Box 4.1.22. ChangeLog

    Go download it and the matching “Extension Pack” when you have a chance…

    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
    Posted in Linux, NFAT, troubleshooting, tutorials, utilities | No comments
    Newer Post Older Post Home

    0 comments:

    Post a Comment

    Subscribe to: Post Comments (Atom)

    Popular Posts

    • Finally! Time to Post! New material list
      After a recent text from my bro reminding me it has been since March since I’ve done a blog post, I was finally able to clear the schedule a...
    • Oscar watch Linkpost
      Alvis and Lavie are watching the Oscars tonight and I’m along for the ride. I wasn’t able to come even close to getting out some of the pos...
    • New Year’s Day - First Post 2011
      Same day I came out with my first post after a long drought, I fell upon this article Blogging Seems To Have Peaked, Says Pew Report over a...
    • Utility Gumbo
      There’s a lot in this pot.  Probably something everyone can find to enjoy. I’m serving it up tonight out of the back of the truck on the s...
    • iodd : Multi-boot madness!
      Like many computer technicians and responders, I seem to always have at hand a collection of bootable media; CD’s, DVD’s, USB-HDD’s, flash m...
    • Ubuntu 13.10 Upgrade - Lessons Learned & VIDMA utility found
      A few weeks ago a new release of Ubuntu came out. Naturally that meant it was update time! I have been getting pretty good at this now so ...
    • Interesting Malware in Email Attempt - URL Scanner Links
      Last weekend I spent some time with extended family helping confirm for them that their on-line email account got hacked and had been used t...
    • Windows 8 Linkage: A Bit Behind the Ball
      CC attribution: behind the eight ball by Ed Schipul on flickr . OK. Confession time. I’m more than a bit exhausted this weekend. Besides a...
    • Lego MiniFig Extravaganza
      picture clipped from Wired’s clip from Gizmodo clip… Thanks in no small part to the Windows 7 RC release, XPM mode research, and a big “l...
    • This Week in Security and Forensics: Beware the cake!
      Cube Party! image used with permission from John Walker at "rockpapershotgun.com" Yeah, the cake is a Portal thing.  Let’s d...

    Categories

    • Active Directory
    • anti-virus software
    • Apple
    • architecture
    • art
    • AVG
    • Blogger
    • blogging
    • books
    • boot-cd's
    • browsers
    • cars
    • cell-phones
    • cheat sheets
    • Chrome/Chromium
    • command-line interface
    • cooking
    • crafts
    • crazy
    • curmudgeon
    • DHC
    • Dr. Who
    • E-P1
    • Education
    • family
    • Firefox
    • firewalls
    • For the Gentleman
    • forensics
    • Gmail
    • Google
    • graphics
    • hacks
    • hardware
    • humor
    • hurricanes
    • imagex
    • Internet Explorer
    • iOS
    • iPhone
    • iPod
    • iTunes
    • Kindle
    • Learning
    • Link Fest
    • Linux
    • malware tools
    • Microsoft
    • movies
    • music
    • networking
    • NewsFox
    • NFAT
    • Nook
    • Opera
    • organization
    • PDF's
    • photography
    • politics
    • PowerShell
    • recipes
    • Remote Support
    • RSS
    • science
    • Scripting
    • search engines
    • security
    • Shuttle SFF
    • software
    • Texana
    • Thunderbird
    • troubleshooting
    • TrueCrypt
    • tutorials
    • utilities
    • VBscript
    • video
    • Virtual PC
    • virtualization
    • viruses
    • Vista
    • Vista mods
    • wallpapers
    • Win FE
    • Win PE
    • Win RE
    • Windows 7
    • Windows 8
    • Windows Home Server
    • Windows Live Writer
    • Windows Phone
    • writing
    • XP
    • XP mods
    • Xplico

    Blog Archive

    • ►  2013 (83)
      • ►  November (8)
      • ►  October (8)
      • ►  September (14)
      • ►  August (6)
      • ►  July (10)
      • ►  June (10)
      • ►  April (11)
      • ►  March (6)
      • ►  February (7)
      • ►  January (3)
    • ▼  2012 (96)
      • ►  December (8)
      • ►  November (4)
      • ►  October (9)
      • ▼  September (8)
        • Windows 8 Linkage: A Bit Behind the Ball
        • Scratching at a SCSI Drive Itch - Part II - WinPE ...
        • Scratching at a SCSI Drive Itch - Part I - Hello U...
        • Network Miner Updating on Ubuntu 12.04
        • MetroTextual - Spirit of the notepad known as Bend
        • Java does a “Jack and Jill”
        • Trouble with The TEDinator
        • A Little Bit All Over the Place
      • ►  August (12)
      • ►  July (4)
      • ►  June (3)
      • ►  May (7)
      • ►  April (13)
      • ►  March (3)
      • ►  February (5)
      • ►  January (20)
    • ►  2011 (41)
      • ►  December (8)
      • ►  November (7)
      • ►  September (4)
      • ►  August (4)
      • ►  July (2)
      • ►  June (6)
      • ►  March (5)
      • ►  February (1)
      • ►  January (4)
    • ►  2010 (69)
      • ►  December (1)
      • ►  October (3)
      • ►  September (2)
      • ►  August (13)
      • ►  July (17)
      • ►  June (3)
      • ►  May (3)
      • ►  April (3)
      • ►  March (11)
      • ►  February (1)
      • ►  January (12)
    • ►  2009 (177)
      • ►  December (20)
      • ►  November (11)
      • ►  October (7)
      • ►  September (7)
      • ►  August (21)
      • ►  July (17)
      • ►  June (7)
      • ►  May (18)
      • ►  April (9)
      • ►  March (17)
      • ►  February (23)
      • ►  January (20)
    • ►  2008 (35)
      • ►  December (23)
      • ►  November (12)
    Powered by Blogger.

    About Me

    Unknown
    View my complete profile