Coder Social home page Coder Social logo

asmscan's Introduction

asmscan
Author: Eugene Ma

==========[ 0x0 Introduction ]

        asmscan is a port scanner written entirely in 32-bit x86 assembly, with
both TCP and SYN scanning capabilities. It uses Linux system calls to interface
with the network stack, which makes the code unportable across platforms, but
keeps it completely libc free.

==========[ 0x1 Features ]

- libc free
- compact binary size
- network optimized speed 

==========[ 0x2 Installation ]

You will need nasm.


$ cat Makefile 
asmscan: asmscan.o
	ld -s -o asmscan asmscan.o
asmscan.o: asmscan.asm
	nasm -f elf -o asmscan.o asmscan.asm

==========[ 0x3 Usage ]

$ ./asmscan
Usage: asmscan <target ip>

==========[ 0x4 Operation ]

asmscan implements two modes of operation. 

1. If run by a normal user, asmscan will perform a TCP scan, and attempt to
connect with ports 0-1023.

2. If run with root permissions, asmscan will perform a SYN scan, sending
custom crafted TCP SYN packets to the target host and listening for replies. It
will first send an ICMP ping to calculate the shortest time to wait for replies
from the host.

In both modes, asmscan scans ports in parallel instead of serially. This gives
it speeds that are comparable to those of nmap.

==========[ 0x5 Todo ]

- Allow user to specify a range of ports
- Allow user to specify a range of IP's
- Greater granularity of port state: notify the user if a port is open, closed,
  filtered, or possibly something else.
- Make the binary even smaller

asmscan's People

Contributors

lastnamescott avatar

Watchers

 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.