Penetration Testing

Total Page:16

File Type:pdf, Size:1020Kb

Penetration Testing Penetration Testing Miroslav Biňas (c) 2017 Introduction ● penetration test - is an authorized simulated attack on a computer system that looks for security weaknesses, potentially gaining access to the system's features and data ● also known as pen test www.cde.sk Types of Penetration Testing to Know ● internal testing ● external testing ● double-blind testing www.cde.sk Internal Testing ● goal - to simulate what would happen if a company's own employee attempted to carry out an attack from within ● many breaches occur from someone inside the company ● helps to identify weaknesses in second or third lines of defense (insider attack will bypass perimeter safeguards altogether) www.cde.sk External Testing ● probing application security as an external threat ● finding vulnerabilities in everything from firewall protection to domain name servers ● the most widely used form of penetration testing www.cde.sk Double-Blind Testing ● goal - to catch dev teams and IT staff by surprise ● in other types of penetration testing is everyone aware that the app's security is going to be probed, in this type only the bare minimum ● QA teams can determine how the organization and software will actually react in the event of a breach attempt www.cde.sk Automated Security Tools ● automated tools not fixing security vulnerabilities ○ effective in finding them ○ provide suggestions for fixing them ● many (non)free tools are available ● security Linux distributions - fully loaded od pen test tools ○ Kali Linux ○ Parrot Security OS ○ BackBox ○ BlackArch www.cde.sk Example of Automated Security Tools ● Nmap - port scanner ● Metasploit - vulnerability exploitation framework ● John the Ripper, Aircrack-ng - password cracker ● Kismet - packet sniffer ● sqlmap - detecting and exploiting SQL injection flaws tool www.cde.sk Questions? www.cde.sk.
Recommended publications
  • Introduction to Fmxlinux Delphi's Firemonkey For
    Introduction to FmxLinux Delphi’s FireMonkey for Linux Solution Jim McKeeth Embarcadero Technologies [email protected] Chief Developer Advocate & Engineer For quality purposes, all lines except the presenter are muted IT’S OK TO ASK QUESTIONS! Use the Q&A Panel on the Right This webinar is being recorded for future playback. Recordings will be available on Embarcadero’s YouTube channel Your Presenter: Jim McKeeth Embarcadero Technologies [email protected] | @JimMcKeeth Chief Developer Advocate & Engineer Agenda • Overview • Installation • Supported platforms • PAServer • SDK & Packages • Usage • UI Elements • Samples • Database Access FireDAC • Migrating from Windows VCL • midaconverter.com • 3rd Party Support • Broadway Web Why FMX on Linux? • Education - Save money on Windows licenses • Kiosk or Point of Sale - Single purpose computers with locked down user interfaces • Security - Linux offers more security options • IoT & Industrial Automation - Add user interfaces for integrated systems • Federal Government - Many govt systems require Linux support • Choice - Now you can, so might as well! Delphi for Linux History • 1999 Kylix: aka Delphi for Linux, introduced • It was a port of the IDE to Linux • Linux x86 32-bit compiler • Used the Trolltech QT widget library • 2002 Kylix 3 was the last update to Kylix • 2017 Delphi 10.2 “Tokyo” introduced Delphi for x86 64-bit Linux • IDE runs on Windows, cross compiles to Linux via the PAServer • Designed for server side development - no desktop widget GUI library • 2017 Eugene
    [Show full text]
  • Some Ethical Hacking Possibilities in Kali Linux Environment
    Vol. 9, No. 4, 2019 pp. 129-149 http://doi.org/10.24368/jates.v9i4.139 21 129 Journal of Applied Technical and Educational Sciences jATES ISSN 2560-5429 http://jates.org Some ethical hacking possibilities in Kali Linux environment Petar Cisara, Robert Pinterb aUniversity of Criminal Investigation and Police Studies, Cara Dusana 196, 11080 Zemun, Serbia, [email protected] bSubotica Tech - College of Applied Sciences, Marka Oreskovica 16, 24000 Subotica, Serbia, [email protected] Abstract This paper deals with the problem of ethical hacking and security of computer systems. When we talk about security of an information system, we actually mean the primary three attributes of the system: confidentiality, integrity and availability. There are various approaches with aim to identify existing security weaknesses and security assessment. One of them is using Kali Linux operating system with its integrated effective tools specially adapted to the realization of various types of attacks. The paper gives a general overview of some Kali attacking possibilities on client and server side and highlights their specificities. The undoubted benefit of this operating system is a large collection of different hacking tools in one place which significantly facilitates vulnerability assessment and security testing. Keywords: Kali Linux; tools; attack; security; ethical hacking 1. Introduction In general, four main categories (or phases) of information security assessments can be identified (Hertzog, 2017): a vulnerability assessment, a compliance (audit) test, a traditional internal/external penetration test, and an application assessment. There are various methods with aim to identify existing security weaknesses and security assessment (Allen, 2014).
    [Show full text]
  • Blackarch Linux, the Blackarch Linux Guide
    BlackArch Linux The BlackArch Linux Guide http://www.blackarch.org/ February 5, 2014 Contents 1 Introduction 3 1.1 What is BlackArch Linux?................................ 3 1.2 Get involved....................................... 3 2 User Guide 4 2.1 Installation........................................ 4 2.1.1 Setting up repository .............................. 4 2.1.2 Installing packages ............................... 5 2.1.3 Installing packages from source......................... 5 2.1.4 Installing from live-, netinstall- ISO or ArchLinux ............... 6 3 Developer Guide7 3.1 Contributing to repository................................ 7 3.1.1 Required tutorials................................ 7 3.1.2 Steps for contributing.............................. 7 3.1.3 Example..................................... 8 3.1.3.1 Fetch PKGBUILD........................... 8 3.1.3.2 Clean up PKGBUILD......................... 8 3.1.3.3 Adjust PKGBUILD.......................... 8 3.1.3.4 Build the package........................... 8 3.1.3.5 Install and test the package ..................... 9 3.1.3.6 Add, commit and push package ................... 9 3.1.3.7 Create a pull request......................... 9 3.1.4 Requests..................................... 9 3.1.5 General tips................................... 9 A Appendix 10 A.1 FAQs........................................... 10 A.2 AUTHORS........................................ 10 2 Chapter 1 Introduction 1.1 What is BlackArch Linux? BlackArch Linux is a lightweight expansion to Arch Linux for penetration testers. The toolset is distributed as an Arch Linux unofficial user repository so you can install BlackArch- Linux on top of an existing Arch Linux installation. Packages may be installed individually or by category. We currently have over 650 tools in our toolset and the repository is constantly expanding. All tools are thoroughly tested before being added to the codebase to maintain the quality of the repository.
    [Show full text]
  • Delphi's Firemonkey for Linux Solution
    Introduction to FMXLinux Delphi’s FireMonkey for Linux Solution Jim McKeeth Embarcadero Technologies [email protected] Chief Developer Advocate & Engineer Slides, replay and more https://embt.co/FMXLinuxIntro Your Presenter: Jim McKeeth Embarcadero Technologies [email protected] | @JimMcKeeth Chief Developer Advocate & Engineer Agenda • Overview • Installation • Supported platforms • PAServer • SDK & Packages • Usage • UI Elements • Samples • Database Access FireDAC • Migrating from Windows VCL • midaconverter.com • 3rd Party Support • Broadway Web Why FMX on Linux? • Education - Save money on Windows licenses • Kiosk or Point of Sale - Single purpose computers with locked down user interfaces • Security - Linux offers more security options • IoT & Industrial Automation - Add user interfaces for integrated systems • Federal Government - Many govt systems require Linux support • Choice - Now you can, so might as well! Delphi for Linux History • 1999 Kylix: aka Delphi for Linux, introduced • It was a port of the IDE to Linux • Linux x86 32-bit compiler • Used the Trolltech QT widget library • 2002 Kylix 3 was the last update to Kylix • 2017 Delphi 10.2 “Tokyo” introduced Delphi for x86 64-bit Linux • IDE runs on Windows, cross compiles to Linux via the PAServer • Designed for server side development - no desktop widget GUI library • 2017 Eugene Kryukov of KSDev release FMXLinux • Eugene was one of the original architects of FireMonkey • A modification of FireMonkey, bringing FMX to Linux • 2019 Embarcadero includes FMXLinux
    [Show full text]
  • |FREE| Unix Desktop Guide To
    UNIX DESKTOP GUIDE TO C C EBOOK Author: Sams Staff Number of Pages: none Published Date: 01 Nov 1991 Publisher: Prentice Hall (Higher Education Division, Pearson Education) Publication Country: New Jersey, United States Language: English ISBN: 9780672300943 Download Link: CLICK HERE Unix Desktop Guide To C C Online Read Archived from the original on October 13, What are Computer Programming Languages? Meta magazine. The language was introduced to the public in and is now owned by Oracle. Python OOP 3. Free software projects, although developed through collaborationare often produced independently of each other. Process scheduling subsystem. IBM Developer Works. Archived from the original on October 17, Archived from the original on December 30, Offers a free, extensive course in C fundamentals Microsoft Unix Desktop Guide to c C Academy. Reviews Unix Desktop Guide To C C Archived from the original PDF on January 11, These projects are based on the GTK and Qt widget toolkitsrespectively, which can also be used independently of the larger framework. It is also possible to run applications written for Android on other versions of Linux using Anbox. C Language is a structure-oriented, middle-level programming language mostly used to develop Unix Desktop Guide to c C applications. Main article: Video4Linux. Retrieved April 14, Free and open-source software. Ina new initiative was launched to automatically collect a database of all tested hardware configurations. Archived from the original on May 19, Retrieved January 5, Build a minesweeper app or choose another mini project at Make School. Archived from the original on June 3, About Unix Desktop Guide To C C Writer Java Servlets 3.
    [Show full text]
  • OS-Level Frameworks for Rapid Prototyping of Process Scheduling Algorithms on Linux
    OS-level frameworks for rapid prototyping of process scheduling algorithms on Linux Final Project for the Degree in Computer Science and Engineering Carlos Bilbao Muñoz Advisor: Juan Carlos Sáez Alcaide Grado en Ingeniería Informática (grupo bilingüe) Facultad de Informática Universidad Complutense de Madrid Madrid, Junio de 2020 ii OS-level frameworks for rapid prototyping of process scheduling algorithms on Linux Final Project Report Carlos Bilbao Muñoz Advisor: Juan Carlos Sáez Alcaide Grado en Ingeniería Informática (Grupo Bilingüe) Facultad de Informática Universidad Complutense de Madrid Madrid, Junio de 2020 “No one told you when to run, you missed the starting gun.” - Pink Floyd ii Acknowledgments I am grateful to my advisor, Juan Carlos Sáez Alcaide, from whom I feel very fortunate to have been able to learn. Thanks to him I was not only able to get my first internship, but also meet great people and discovered the fun of research along the way. I also want to thank my parents for their unconditional support. Finally, for all the nice memories I would like to thank the friends I have made these years at UCM. iii iv Abstract Linux is equipped with multiple scheduling algorithms that are implemented as separate scheduling classes. Unfortunately, due to the current design of the scheduler these classes have to be created inside the kernel, which makes difficult to develop and debug new algorithms. In particular, for each new bug detected in the implementation of the algorithm it is necessary to recompile the kernel and reboot the system, thus making development at this level a time-consuming process.
    [Show full text]
  • 317127911.Pdf
    http://shabithishan.com/resume/Shabith%20Ishan%20-%20Front-end%20Developer%20(201 4).pdf | Shabith Ishan - Front-end Developer (2014).pdf file:///home/lucifer/Desktop/cv2016.pdf | Impression https://workingatbooking.com/vacancies/ux-designer/ | UX Designer (HTML/CSS) - W orking at Booking.com http://www.jobhero.com/ux-designer-cover-letter/ | UX Designer Cover Letter | Jo bHero http://www.jobhero.com/resume-samples/browse | JobHero | Browse Resume Samples http://www.kimbieler.com/2012/04/19/dont-be-lazy-write-that-cover-letter/ | Don’t be lazy—write that cover letter | Kim Bieler | UX management, strategy, and design http://news.tecmint.com/ubuntus-convergence-and-microsofts-continuum-how-do-they -differ/ | Ubuntu s convergence and Microsoft s continuum... How do they differ? http://fossbytes.com/best-linux-distros-of-2016-which-one-is-best-for-me/ | Whic h Linux Distribution Is Best For Me — Best Distros To Use In 2016 https://security-onion-solutions.github.io/security-onion/ | Security Onion https://kat.cr/warcraft-2016-tc-x264-aac-etrg-t12738223.html | Download Warcraft 2016 TC x264 AAC-ETRG Torrent - Kickass Torrents https://kat.cr/x-men-apocalypse-2016-tc-x264-aac-etrg-t12712111.html | Download X Men Apocalypse 2016 TC x264 AAC-ETRG Torrent - Kickass Torrents http://linux.softpedia.com/ | Free Linux Downloads http://techxerl.net/use-packet-data-and-wifi-both-to-boost-your-internet-speed/ | How To Use Packet Data And Wi-Fi Both To Boost internet speed In Android Devic es? http://blogs.transparent.com/dutch/pet-names-and-loving-nicknames/
    [Show full text]
  • Ijcseonline Template
    International Journal of Computer Sciences and Engineering Open Access Survey Paper Vol.-7, Special Issue-14, May 2019 E-ISSN: 2347-2693 Information Gathering and FootPrinting Framework for Penetration Testing using Shell Script 1Gopichand D, 2Lakshmikar B, 3Siva Teja G, 4Chaitanya Sai G, 5*Raghavendra Reddy 1,2,3,4,5School of Computing and Information Technology, REVA University, Bangalore, India Corresponding Author: [email protected] DOI: https://doi.org/10.26438/ijcse/v7si14.239244 | Available online at: www.ijcseonline.org Abstract— Now a days Cyber threats are the costliest threats happening globally. Lets assume a scenario where a user surfs the internet, share files, download files, upload files without any basic security precautions. In this case he/she can get infected with virus and also shares it in form of physical drives or any upload of file, this will also infect other end users. To prevent this stuff in the organisations they conduct a monthly or quarterly security audit which will help them to maintain their systems secure. Keywords— Information Gathering, Penetration Testing, Automation, Footprinting, Ethical Hacking. I. PROBLEM STATEMENT investigate, make new standards, and attempt to extend the assignments that PCs could achieve. The people who audits the security comes with a moto to perform audit only on particular areas, here they will get less These MIT substitutes alongside other early programmers amount of time which will be given them mostly in the were intrigued just with regards to investigating, improving midnight to complete their tasks. So there might be a chance and testing the points of confinement of existing projects.
    [Show full text]
  • Software Testing, Data Security and GDPR
    www.usn.no FMH606 master’s Thesis MT-31-19 Process Technology Software Testing, Data Security and GDPR May 14, 2019 Michael Ogechi Agbamoro Faculty of Technology, Natural sciences and Maritime Sciences Campus Porsgrunn www.usn.no Course: FMH606 master’s Thesis MT-31-19 Title: < Software Testing, Data Security and GDPR Number of pages: <61> Keywords: Data security, security testing, GPDR, threats, trends, Edemso, test tools, test software. Student: Michael Ogechi Agbamoro Supervisor: Hans-Petter Halvorsen External partner: Cevia Solutions Availability: Open Summary: Software and data security are an important part of a modern-day business strategy of any organization as it forms the basis for guaranteed security of information, data, and assets of any organization. This project is principally focused on performing security test on the Edemso software to find vulnerabilities, based on the security test results determine the security level of the Edemso software and propose improvements regarding the general security of the Edemso software. In this project, extensive and detailed analyses of common security threats, various software security testing tools, security testing method, and GDPR were performed. Based on the analysis a preferred security testing method was determined and the Edemso software was properly examined and tested and the findings meticulously documented and analyzed. After proper and extensive examination of the Edemso software, about 36 vulnerabilities or loopholes were discovered, 75% of which are low risk, 25% are critical risk level vulnerabilities and there was zero severe high-risk level vulnerability. Attempts to exploits the discovered vulnerabilities were unsuccessful and proposed solutions to eliminating these critical vulnerabilities found in the project are; an update of the OpenSHH on port 22tcp and reconfigurations in the internet information service manager of the Edemso software.
    [Show full text]
  • Arxiv:2010.01582V1 [Cs.CR] 4 Oct 2020 Hence Spotting Possible Deviations from the Normal Base- 1 Introduction Line
    DNS Covert Channel Detection via Behavioral Analysis: a Machine Learning Approach Salvatore Saeli, Federica Bisio, Pierangelo Lombardo, Danilo Massa aizoOn Technology Consulting Strada del Lionetto 6, 10146 Turin, Italy fsalvatore.saeli,federica.bisio,pierangelo.lombardo,[email protected] Abstract resources never intended for this purpose. The aim of such a technique is to extract sensitive information from organi- Detecting covert channels among legitimate traffic rep- zations and companies, while eluding conventional security resents a severe challenge due to the high heterogeneity of measures (e.g., intrusion detection systems and firewalls). networks. Therefore, we propose an effective covert chan- Among the reasons that make covert channels a se- nel detection method, based on the analysis of DNS network vere menace for threat hunters, it is worth mentioning the data passively extracted from a network monitoring system. following: (i) conventional intrusion detection and fire- The framework is based on a machine learning module and wall systems typically fail in the detection of covert chan- on the extraction of specific anomaly indicators able to de- nels; (ii) the network traffic varies considerably, thus caus- scribe the problem at hand. The contribution of this paper is ing detection issues for classical statistical approaches to two-fold: (i) the machine learning models encompass net- covert channel detection; (iii) related to the previous two work profiles tailored to the network users, and not to the points, another
    [Show full text]
  • Blackarch Linux, the Blackarch Linux Guide
    The BlackArch Linux Guide https://www.blackarch.org/ Contents 1 Introduction 3 1.1 Overview ......................................... 3 1.2 What is BlackArch Linux? ................................ 3 1.3 History of BlackArch Linux ............................... 3 1.4 Supported platforms ................................... 3 1.5 Get involved ....................................... 4 2 User Guide 5 2.1 Installation ........................................ 5 2.1.1 Installing on top of ArchLinux ......................... 5 2.1.2 Installing packages ............................... 5 2.1.3 Installing packages from source ......................... 6 2.1.4 Basic Blackman usage .............................. 6 2.1.5 Installing from full-, netinstall- ISO or ArchLinux ............... 7 3 Developer Guide 8 3.1 Arch’s Build System and Repositories ......................... 8 3.2 Blackarch PKGBUILD standards ............................ 8 3.2.1 Groups ...................................... 8 3.2.1.1 blackarch ............................... 8 3.2.1.2 blackarch-anti-forensic ........................ 9 3.2.1.3 blackarch-automation ......................... 9 3.2.1.4 blackarch-backdoor .......................... 9 3.2.1.5 blackarch-binary ............................ 9 3.2.1.6 blackarch-bluetooth .......................... 9 3.2.1.7 blackarch-code-audit ......................... 9 3.2.1.8 blackarch-cracker ........................... 9 3.2.1.9 blackarch-crypto ........................... 9 3.2.1.10 blackarch-database .......................... 10 3.2.1.11
    [Show full text]
  • Nix(OS) - Revolutionizing Packaging and Configuration Management!
    Nix(OS) - Revolutionizing packaging and configuration management! The Purely Functional Linux Distribution 1 What? Nix (package manager) Nixpkgs (Nix packages collection) NixOps NixOS (operating system) NixOps (DevOps / cloud deployment NixOS tool) Hydra (Nix based continuous build system) Nixpkgs Nix 2 nix-env (manipulate or query Nix user environments) https://nixos.org/nix/manual/figures/user-environments.png 3 Problems of classical package managers Upgrades/configuration changes destructively update the system state (overwriting files in sequence -> temporary inconsistency) State -> nondeterministic builds -> not reproducible Different versions of a binary Package conflicts No rollbacks No configuration management 4 Nix(OS) Atomic upgrades/rollbacks (soware & configuration) Multiple versions of a package (side-by-side, e.g. testing a new Apache version) Deterministic & Reproducible builds Reliable upgrades (and rollbacks - configuration bound to correct soware version + service reloads/restarts) Reliable channel upgrades/rollbacks (e.g. 17.03 -> 17.09) Unprivileged users can securely install soware 5 Being functional Classically: Imperative configuration Stateful changes (-> dependency hell, inconsistent states, etc.) NixOS: Declarative configuration Packages/Configuration = immutable values (Complete) rebuilds instead of destructive updates Referential transparency (~an expression always evaluates to the same result) 6 Problems Lacking manpower/workforce (e.g. for better testing/security/documentation) Not all packages are reproducible (2016: 12.8%) Running pre-compiled binaries Scripts with hard-coded paths don't work No GUI for package/configuration management No LTS releases or super stable (i.e. old :P) branches Not all use-cases or configuration options supported Some tricks available + PRs welcome ;) 7 Nix A purely functional package manager (transparent source/binary deployment) Secure multi-user support Stores packages in the Nix store (/nix/store by default) Each package has it's own unique identifier/directory E.g.
    [Show full text]