Git Product home page Git Product logo

idaidle's Introduction

idaidle

Copyright 2016-2021 Google LLC

Build Status

Disclaimer: This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

What is it?

idaidle is a plugin for the commercial IDA Pro disassembler that warns users if they leave their instance idling for too long. After a predetermined amount of idle time, the plugin first warns and later then saves the current disassemlby database and closes IDA.

This is useful in organizations with IDA Pro floating licenses to make sure that analysts return their license to the license server when they are done using it.

How to Build

Dependencies:

  • IDA 7.0 or higher with a matching SDK installed
  • Linux/macOS: GCC/Clang with C++11 support
  • Windows: Visual Studio 2015 Compiler or later
  • CMake 3.7 or higher

First run CMake to configure the build, replacing <IDASDK> with the root path of your IDA SDK installation:

Linux/macOS:

mkdir -p build && cd build
cmake .. -DIdaSdk_ROOT_DIR=<IDASDK> -DCMAKE_BUILD_TYPE=Release

Windows:

if not exist build mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR=<IDASDK> -DCMAKE_BUILD_TYPE=Release

Once configured, start the build with:

Linux:

cmake --build .

macOS/Windows:

cmake --build . --config=Release

If all goes well, depending on your configuration, the following plugin files are now in the build directory:

OS Filename
Linux idaidle.so
idaidle64.so
macOS idaidle.dylib
idaidle64.dylib
Windows idaidle.dll
idaidle64.dll

Note: A 64 in any of the filenames denotes a 64-bit address aware plugin.

Installation

To install system-wide, put the plugin binaries into the plugins folder in your IDA Pro installation. Below are the default paths:

OS Plugin path
Linux /opt/ida-7.5/plugins
macOS /Applications/IDA Pro 7.5/idabin/plugins
Windows %ProgramFiles(x86)%\IDA 7.5\plugins

Replace 7.0 with your actual version number.

To install just for the current user, copy the files into one of these directories instead:

OS Plugin path
Linux/macOS ~/.idapro/plugins
Windows %AppData%\Hex-Rays\IDA Pro\plugins

Usage

As soon as a database is opened, the plugin starts to monitor idle time, i.e. the time between to consecutive UI operations. By default, after six hours, a warning is printed to the output window. After 12 hours, a database snapshot will be created and the IDA Pro instance will be closed without saving. This is so that the plugin does not accidentally overwrite unsaved work or databases the analyst did not want to save.

There is no configuration file, but the following command-line options are available:

Option Description
-OIdaIdleWarningSeconds:N Warn the user after N seconds of inactivity
-OIdaIdleTimeoutSeconds:N Create snapshot and close IDA afer N seconds

Note: IDA only recognizes these command-line options if they come before any filenames.

idaidle's People

Contributors

cblichmann avatar haboutnnah avatar willtheorangeguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.