Introduction to (Malware) MALICIOUS CODE

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to (Malware) MALICIOUS CODE MALICIOUS CODE - some observations • Definition: Malicious code is any code added, changed or removed from a software system in order to intentionally cause harm or subvert the intended function of the system. Introduction to • “If you let somebody else execute code on your computer, MALICIOUS CODE then it is not your own computer” • Malicious code can be many things: viruses, worms, trojan (Malware) horses, rabbits, etc etc • Note that from a technical/scientific viewpoint: malicious code is “normal” code!! • Thus: the malware problem is a software problem. MALICIOUS CODE - some recent trends MALICIOUS CODE - reasons for increase • there are a few trends that largely influence the wide • previously malware was normally of one specific kind. spread of malicious code: Nowadays, it is “multifunctional” and very complicated. • Growing number and connectivity of computers • all kinds of malware tend to be called “virus”. - “everybody” is connected and dependant on computers • Top 6 (2004): - the number of attacks increase Bagle, Mydoom, Netsky, Sasser, Kargo and Sober (2004) - attacks can be launched easily (automated attacks) • Most viruses today are non-destructive. • Growing system complexity - unsafe programming languages • Rather they try to take control over your computer, so that - heterogenity it can be used for other, malicious purposes, a zombie, - hiding code is easy e.g. to distribute spam. - verification and validation is impossible (let alone proofs) (It is claimed that 70% of all email today is spam.) • Systems are easily extensible - mobile code, dynamically loadable modules - incremental evolution of systems TYPES OF MALICIOUS CODE TYPES OF MALICIOUS CODE • Traditional virus (1988) • Hoax virus - attaches to existing program code - is no virus at all. It is an email with a bogus warning - intervenes in normal execution • Rabbit (bacteria, greedy programs) - replicates and propagates - is a virus (or worm) that replicates without bound, • Document virus (macro virus) thus exhausting some computing resource. Does not - highly formatted documents include commands (+data) spread to other systems. (attacks availability only) • Stealth virus • Worm (1975, 1982) - hides the modifications it has made in the system, - is a stand-alone program that replicates and spreads normally by monitoring system calls and forging the copies of itself via the network. Non-trivial to make. results of such calls • Trojan Horse • Polymorphic virus - is a “normal” program that contains some hidden - avoids virus scanners by producing multiple variant functionality, that is unwanted by the user. of itself or encrypting itself. TYPES OF MALICIOUS CODE MALICIOUS CODE - IMPLEMENTATION METHODS • Logic bomb • Attack script - malware that triggers on a condition and “detonates” - is a program that exploit some security weakness to carry out an attack. • Time bomb - malware that triggers on a time condition and “detonates • Java attack applet - is a program that is embeeded in Web page. • Trap door (Back door) - spreads through web browsers - is an undocumented and unknown (to the user) entry point to a system. • ActiveX control - it is normally inserted during the system design phase - is a Microsoft version of a Java applet - could be put there for a useful purpose (trouble shooting, - it is much more powerful that the Java applet testing, maintenance, but left by mistake. - ActiveX controls are extremely dangerous if used for • Salami attack malicious purposes - acheiving some economic benefit but making a large number of insignificant changes, e.g rounding errors..
Recommended publications
  • Security , Hacking, Threats & Tools for Security
    SECURITY , HACKING, THREATS & TOOLS FOR SECURITY N.Anupama Asst Professor ANUCET ANU CONTENT Introduction to security Features of security Hacking Security threats Tools to provide security Conclusion SECURITY Security is the protection of assets. The three main aspects are: Prevention Detection re-action Information can be stolen – how to prevent it. Confidential information may be copied and sold - but the theft might not be detected The criminals try to attack and the system should react to stop it. TYPES OF SECURITY Computer Security deals with the prevention and detection of unauthorised actions by users of a computer system. Network security prevent and monitor unauthorized access, misuse, modification, or denial of a computer network and network- accessible resources. Web security deals specifically with security of websites, web applications and web service. Features of security Confidentiality Integrity Availability Non-repudiation Authentication Access Controls Accountability FEATURES OF SECURITY Confidentiality Confidentiality is keeping information secret or private. The prevention of unauthorized disclosure of information. Confidentiality might be important for military, business or personal reasons. Integrity Integrity means that there is consistency in the system - everything is as it is expected to be. Integrity is the authorised writing or modification of information. Data integrity means that the data stored on a computer is the same as the source documents. FEATURES OF SECURITY Availability Information should be accessible and useable upon appropriate demand by an authorized user. Availability is the prevention of unauthorized withholding of information. Non-repudiation Non repudiation is a method of guaranteeing message transmission between parties via digital signature and/or encryption. Non repudiation is often used for digital contracts, signatures and email messages.
    [Show full text]
  • Address Munging: the Practice of Disguising, Or Munging, an E-Mail Address to Prevent It Being Automatically Collected and Used
    Address Munging: the practice of disguising, or munging, an e-mail address to prevent it being automatically collected and used as a target for people and organizations that send unsolicited bulk e-mail address. Adware: or advertising-supported software is any software package which automatically plays, displays, or downloads advertising material to a computer after the software is installed on it or while the application is being used. Some types of adware are also spyware and can be classified as privacy-invasive software. Adware is software designed to force pre-chosen ads to display on your system. Some adware is designed to be malicious and will pop up ads with such speed and frequency that they seem to be taking over everything, slowing down your system and tying up all of your system resources. When adware is coupled with spyware, it can be a frustrating ride, to say the least. Backdoor: in a computer system (or cryptosystem or algorithm) is a method of bypassing normal authentication, securing remote access to a computer, obtaining access to plaintext, and so on, while attempting to remain undetected. The backdoor may take the form of an installed program (e.g., Back Orifice), or could be a modification to an existing program or hardware device. A back door is a point of entry that circumvents normal security and can be used by a cracker to access a network or computer system. Usually back doors are created by system developers as shortcuts to speed access through security during the development stage and then are overlooked and never properly removed during final implementation.
    [Show full text]
  • Malware Xiaowei Yang Previous Lecture
    590.05 Lecture 5: Malware Xiaowei Yang Previous lecture • Accountability • OS security Today • Malware Malware: Malicious Software 10/21/13 Malware 4 Viruses, Worms, Trojans, Rootkits • Malware can be classified into several categories, depending on propagaon and concealment • Propagaon 10/21/13 • Virus: human-assisted propagaon (e.g., open email aachment) • Worm: automac propagaon without human assistance Malware • Concealment • Rootkit: modifies operang system to hide its existence • Trojan: provides desirable funcBonality but hides malicious operaon • Various types of payloads, ranging from annoyance to crime 5 Insider Attacks • An insider a)ack is a security breach that is caused or facilitated by someone who is a part of the very organizaon that controls or builds the asset that should be protected. • In the case of malware, an insider aack refers to a security 10/21/13 hole that is created in a soXware system by one of its programmers. Malware 6 Backdoors • A backdoor, which is also someBmes called a trapdoor, is a hidden feature or command in a program that allows a user to perform acBons he or she would not normally be allowed to do. • When used in a normal way, this program performs completely as 10/21/13 expected and adverBsed. • But if the hidden feature is acBvated, the program does something Malware unexpected, oXen in violaon of security policies, such as performing a privilege escalaon. • Benign example: Easter Eggs in DVDs and soXware An Easter egg is an intenBonal inside joke, hidden message, or feature in a work such as a computer program, movie, book, or 7 crossword.
    [Show full text]
  • Information Security Software Flaws
    CS 166: Information Security Software Flaws Prof. Tom Austin San José State University If automobiles had followed the same development cycle as the computer, a Rolls- Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside. ¾ Robert X. Cringely My software never has bugs. It just develops random features. ¾ Anonymous Why Software? • Why is software as important to security as crypto, access control, protocols? • Virtually all of information security is implemented in software • If your software is subject to attack, your security can be broken – Regardless of strength of crypto, access control or protocols • Software is a poor foundation for security Bad Software is Ubiquitous • NASA Mars Lander (cost $165 million) – Crashed into Mars due to… – …error in converting English and metric units • Denver airport – Baggage handling system --- very buggy software – Delayed airport opening by 11 months – Cost of delay exceeded $1 million/day • MV-22 Osprey – Advanced military aircraft – Faulty software can be fatal Software Issues Alice and Bob Trudy • Find bugs and flaws by • Actively looks for bugs accident and flaws • Hate bad software… • Likes bad software… • …but must learn to live • …and tries to make it with it misbehave • Must make bad • Attacks systems via bad software work software Complexity “Complexity is the enemy of security”, Paul Kocher, Cryptography Research, Inc. System Lines of Code (LOC) Netscape 17 million Space Shuttle 10 million Linux kernel 2.6.0 5 million Windows XP
    [Show full text]
  • Towards Semi-Automated Detection of Trigger-Based Behavior for Software Security Assurance
    Towards Semi-automated Detection of Trigger-based Behavior for Software Security Assurance Dorottya Papp Levente Buttyán Zhendong Ma CrySyS Lab, Dept. of Networked CrySyS Lab, Dept. of Networked Center of Digital Safety and Security, Systems and Services, BME Systems and Services, BME Austrian Institute of Technology Magyar tudósok krt 2. Magyar tudósok krt 2. Donau-City-Straβe 1. Budapest 1117, Hungary Budapest 1117, Hungary Vienna, Austria Center of Digital Safety and Security, [email protected] [email protected] Austrian Institute of Technology Donau-City-Straβe 1. Vienna, Austria [email protected] ABSTRACT 1 INTRODUCTION A program exhibits trigger-based behavior if it performs undocu- Trigger-based behavior in software refers to execution of code that mented, often malicious, functions when the environmental condi- is activated on specific input values (the so called trigger inputs) tions and/or specific input values match some pre-specified criteria. and that performs some undocumented functions. Often, the users Checking whether such hidden functions exist in the program is are not aware of the existence of those undocumented functions important for increasing trustworthiness of software. In this paper, in the software. It is clear that using an application that has such we propose a framework to effectively detect trigger-based behav- hidden functions, which can be triggered by non-legitimate par- ior at the source code level. Our approach is semi-automated: We ties, is dangerous, as those functions can potentially implement use automated source code instrumentation and mixed concrete malicious actions. Indeed, the best examples for trigger-based be- and symbolic execution to generate potentially suspicious test cases havior include backdoors and logic bombs hidden in applications that may trigger hidden, potentially malicious functions.
    [Show full text]
  • “Cybersecurity in the Workplace”
    “Cybersecurity in the Workplace” How to Strengthen and Protect Your Business in an Era of Easy Computer System Access © 2018 Hinshaw & Culbertson LLP, an Illinois Limited Liability Partnership. All rights reserved. Meet Today’s Presenters Ambrose McCall advises businesses on a range of Ken Yeadon uses his experience as a former Assistant U.S. employment issues, including regulatory, compliance and Attorney and SEC Enforcement Attorney to provide defense, employee program matters; he also counsels employers on representation, and advice to individuals and corporations on employee social media and digital workplace policies. criminal, securities, health care, and civil regulatory matters. Cybersecurity in the Workplace: Learning Objectives 1 2 Review relevant law that Demonstrate cybercrime promotes cybersecurity and potential recourses and protects businesses through case studies 3 Best practices that promote cybersecurity and protect your business Insert Copy Recent Examples Andrew Auernheimer – exploited vulnerability in AT&T website to obtain email addresses of AT&T iPad users Matthew Keys – disgruntled employee gave log-on info to hacker, who used info to alter an LA Times news story David Nosal – talked former colleagues into accessing their company's database to give him trade secrets to launch a competing company Cybersecurity Overview • Computer Fraud and Abuse Act (1984) Federal • Electronic Communications Privacy Act (1986) vs. State • State Laws • Civil Remedies for Employers • Criminal Penalties for Civil vs. Employees Criminal
    [Show full text]
  • Cybercrime: an Overview of the Federal Computer Fraud and Abuse Statute and Related Federal Criminal Laws
    Cybercrime: An Overview of the Federal Computer Fraud and Abuse Statute and Related Federal Criminal Laws Charles Doyle Senior Specialist in American Public Law October 15, 2014 Congressional Research Service 7-5700 www.crs.gov 97-1025 Cybercrime: An Overview of 18 U.S.C. 1030 and Related Federal Criminal Laws Summary The Computer Fraud and Abuse Act (CFAA), 18 U.S.C. 1030, outlaws conduct that victimizes computer systems. It is a cyber security law. It protects federal computers, bank computers, and computers connected to the Internet. It shields them from trespassing, threats, damage, espionage, and from being corruptly used as instruments of fraud. It is not a comprehensive provision, but instead it fills cracks and gaps in the protection afforded by other federal criminal laws. This is a brief sketch of CFAA and some of its federal statutory companions, including the amendments found in the Identity Theft Enforcement and Restitution Act, P.L. 110-326, 122 Stat. 3560 (2008). In their present form, the seven paragraphs of subsection 1030(a) outlaw • computer trespassing (e.g., hacking) in a government computer, 18 U.S.C. 1030(a)(3); • computer trespassing (e.g., hacking) resulting in exposure to certain governmental, credit, financial, or computer-housed information, 18 U.S.C. 1030(a)(2); • damaging a government computer, a bank computer, or a computer used in, or affecting, interstate or foreign commerce (e.g., a worm, computer virus, Trojan horse, time bomb, a denial of service attack, and other forms of cyber attack, cyber crime, or cyber terrorism), 18 U.S.C.
    [Show full text]
  • Software Assurance for Executives Definitions
    Definitions Term Definition acquisition Process of obtaining a system, software product, or software service. Software products may include commercial, off-the- shelf (COTS) products; modified, off-the-shelf (MOTS) products; open source products; or fully developed products. The above definition was derived from these references: [IEEE-CS 2008, IEEE-CS 1998] active attack An attack that alters a system or data. [CNSS 2010] Agile An iterative and incremental (evolutionary) approach to software development which is performed in a highly collaborative manner by self-organizing teams within an effective governance framework with “just enough” ceremony that produces high quality software in a cost effective and timely manner which meets the changing needs of its stakeholders. [Ambler 2013] antivirus software Wikipedia: Software used to prevent, detect and remove malware. http://en.wikipedia.org/wiki/Anti-virus attack Any kind of malicious activity that attempts to collect, disrupt, deny, degrade, or destroy information system resources or the information itself. [CNSS 2010] authentication 1. Authentication is the process of determining whether someone or something is who or what it declares itself to be. Passwords, security cards, and biometric solutions are often employed as methods to provide user authentication. With respect to computer systems, the use of digital certificates, which include a digital signature and are issued and verified by a certificate authority (CA) as part of a public key infrastructure, are a way to perform authentication on the Internet. There are three classic ways to authenticate: something you know, something you have, something you are. 2. The process of verifying the identity or other attributes claimed by or assumed of an entity (user, process, or device), or to verify the source and integrity of data.
    [Show full text]
  • Virus Bulletin, May 1994
    ISSN 0956-9979 MAY 1994 THE INTERNATIONAL PUBLICATION ON COMPUTER VIRUS PREVENTION, RECOGNITION AND REMOVAL Editor: Richard Ford CONTENTS Technical Editor: Fridrik Skulason EDITORIAL Consulting Editor: Edward Wilding, Network Security Management, UK Do Not Trust the Horse, Trojans… 2 VIRUS PREVALENCE TABLE 3 NEWS Symantec Acquires Central Point 3 The HDZap Trojan 4 Nordic Naughtiness 4 Virus Exchange - No Thank You 4 IN THIS ISSUE: IBM PC VIRUSES (UPDATE) 5 • Investigating Computer Crime. UK Fraud Squad INSIGHT detectives start making inroads into the most puzzling Tipping the Scales 7 ‘Whodunnit’ since the Great Train Robbery. Has an outbreak of computer crime swept Britain? No, it is all VIRUS ANALYSES part of a training program. For more about Operation 1. Pathogenic Killer 9 Skye, turn to page 15. 2. AMSE - A Rite of Passage? 11 • Pathogen on the loose. A new virus is in the wild in 3. The Pink Panther 13 the UK. It is highly polymorphic and (at this time) not FEATURE detected by many vendors’ software. Jim Bates dissects The Thin Blue Line 15 the latest virus ‘in the wild’. PRODUCT REVIEWS • In Defence of the Realm. Dr Solomon’s Anti-Virus Toolkit for DOS is one of the best known products in the 1. Norman Virus Control 17 industry. Does the NetWare version live up to the same 2. The AVTK for NetWare 20 high standards set by its predecessors? CONFERENCE REPORT IVPC ’94 - Alive and Well in the USA 23 END NOTES & NEWS 24 VIRUS BULLETIN ©1994 Virus Bulletin Ltd, 21 The Quadrant, Abingdon, Oxfordshire, OX14 3YS, England.
    [Show full text]
  • Ellevation Inc. Order Form - Q-26361
    Ellevation Inc. Order Form - Q-26361 This Order Form is being entered into between Ellevation Inc., having an address at 38 Chauncy Street, Boston, Massachusetts 02111 (“Ellevation”) and the Company Name identified as “Customer” below, pursuant to the parties' Master Services Agreement dated 7/31/2021 ("MSA"). In the event of any conflict between this Order Form and the MSA, the terms of this Order Form shall control. This Order Form is effective as of the Subscription Start Date set forth below. Company: Ellevation Education Customer: Quincy School District, WA Representative: Alex Mukherjee Contact Name: Victoria Hodge Email: [email protected] Email: [email protected] Phone: 617-307-5755 Phone: (509) 787-8992 Address: 38 Chauncy St, 9th Floor, Boston, MA Address: 119 J St SW, Quincy, WA 98848 02111 Start Date: 8/1/2021 End Date: 7/31/2022 Subscription Fees Product Quantity Unit Price Total Fees Ellevation Platform (Start Date: 08/01/2021) 1,282 $13.50 $17,307.00 Strategies (Start Date: 08/01/2021) 1,282 $13.25 $16,986.50 Subscription Total: $34,293.50 Services Fees Services Total: $0.00 Total Investment - Q-26361 Grand Total: $34,293.50 Invoicing Schedule: Up Front, In Full Payment Term: Net 30 Contract Term: 12 ELLEVATION INC. Quincy School District, WA \s1\ By (Signature): \s2\ By (Signature): \n2\ \n1\ Name (Print): Name (Print): \signer_2_title\ \signer_1_title\ Title: Title: \d2\ \d1\ Date: Date: 1/5 This Master Services Agreement (this "Agreement") is dated as of 7/31/2021 ("Effective Date") by and between Ellevation Inc., a Delaware corporation ("Ellevation"), and Quincy School District, WA ("Customer").
    [Show full text]
  • Unforgivable Vulnerabilities Steve Christey the MITRE Corporation [email protected] August 2, 2007
    Unforgivable Vulnerabilities Steve Christey The MITRE Corporation [email protected] August 2, 2007 Abstract For some products, it's just too easy to find vulnerabilities. First, find the most heavily used functionality, including the first points of entry into the product. Then, perform the most obvious attacks against the most common types of vulnerabilities. Using this crude method, even unskilled attackers can break into an insecure application within minutes. The developer likely faces a long road ahead before the product can become tolerably secure; the customer is sitting on a ticking time bomb. These “Unforgivable Vulnerabilities” act like canaries in a coal mine. They are beacons of a systematic disregard for secure development practices. They simply should not appear in software that has been designed, developed, and tested with security in mind. This paper highlights the most common of the unforgivable vulnerabilities, followed by a proposal that the research community establish a set of Vulnerability Assessment Assurance Levels (VAAL) that can be used as indicators for the relative security of software products. Unforgivable vulnerabilities would be exemplars of VAAL-0. Background With the number of publicly reported vulnerabilities steadily increasing year by year [Lemos] [Martin2007a], it seems like there’s no end in sight. The same high-profile software continues to be battered. There is now enough history to try to compare products based on the number of disclosed vulnerabilities [Jones] [Cox], but these crude metrics have a number of important limitations, such as the varying skills of the researchers who analyze these products; the differences in disclosure practices by vendors; inadvertent or intentional biases by researchers and the tools they use; the continuing rapid advances in analysis, such as the discovery of new vulnerability classes and the growth of fuzzing; and the lack of consistent details in public advisories [Christey2006a].
    [Show full text]
  • These Terms and Conditions (“Terms”) Are the Conditions That Govern the Use of the Services (“Services”) of Safesky. Th
    SafeSky Terms and Conditions These Terms and Conditions (“Terms”) are the conditions that govern the use of the Services (“Services”) of SafeSky. These “Terms” apply to updates, supplements, add-on components, or Internet-based services components of the software that SafeSky may provide to you or make available to you after the date you obtain your initial copy of the software, unless SafeSky provides other terms along with the update, supplement, add-on component, or Internet-based services component. In the event any provision of these “Terms” is held to be void, invalid, unenforceable or illegal, the remaining provisions shall continue in full force and effect. SafeSky reserves the right to discontinue any Internet-based “Services” provided to you or made available to you through the use of the “Services”. SafeSky name and SafeSky logo are registered trademarks of SafeSky SRL, a company under Belgian Law, registered nr 0761852549. These “Terms” start as from the moment you install, copy and or use the “Services” of SafeSky. You may use SafeSky “Services” as far as you comply with all terms and conditions of this Agreement. By using the SafeSky “Services”, you signify your assent to these Terms. While using the “Services”, personal information may be provided by you or collected by SafeSky as detailed in our Privacy Policy. This Policy explains our practices pertaining to the use of your personal information and we ask that you read this Privacy Policy carefully. By accepting these Terms, you hereby acknowledge and agree to the collection, storage and use of your personal information by SafeSky, subject to this section, the Privacy Policy and any applicable laws and regulation.
    [Show full text]