<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Information Security 101 - Medium]]></title>
        <description><![CDATA[Get started with information security, secure programming, web security and much more! - Medium]]></description>
        <link>https://medium.com/information-security-101?source=rss----c46434065969---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Information Security 101 - Medium</title>
            <link>https://medium.com/information-security-101?source=rss----c46434065969---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:56:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/information-security-101" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Black Hat — Penetration testing]]></title>
            <link>https://medium.com/information-security-101/black-hat-penetration-testing-6c1c42453429?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/6c1c42453429</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[fuzz-testing]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 15:09:42 GMT</pubDate>
            <atom:updated>2021-04-02T07:32:37.826Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Security Icons in mixed reality" src="https://cdn-images-1.medium.com/max/1024/1*yiUUmC30Eo4u18kvzcqgWg.jpeg" /></figure><h3>Red Team— Penetration testing</h3><p>Penetration testing is a black hat (red team) activity to assess the security of a system by actively trying to exploit vulnerabilities at a program or application level. An external team uses tools and ingenuity to explore the systems’ attack surface and test it for weaknesses. This is conducted with varying levels of access from outsider to knowledgeable insider. Tools are used to probe the attack surface, gather information and test hypotheses and finally exploit a vulnerability if it exists. Parts of the process can be automated once patterns are established.</p><p>A pen tester</p><ol><li>Knows the working of the target domain</li><li>Possible protocols/languages used</li><li>Possible Frameworks used in the domain</li><li>Common weaknesses in the software, Misconfigurations, Known bugs</li></ol><p>For example, in web hacking the URL string plays an important role</p><ul><li>Introducing script tags into the URL to test for XSS</li><li>Adding a semicolon to check for SQL injection</li><li>Are client parameters (such as price) blindly trusted by server</li><li>Try default passwords</li><li>Directory brute-forcing (looking through files/dir)</li><li>Checking configuration page (for root pwd etc)</li></ul><p>The tools chosen depends on the target:</p><ol><li>Enterprise network — need to find out about topology, routers</li><li>Single machine — need to check software, running processes, interesting files</li><li>Single program — explore and exploit possible inputs and interactions</li></ol><h3>Tools</h3><h4>Nmap (Network Mapper)</h4><p>Free, open-source tool which finds the hosts on the network, services they’re using, their operating systems and the filters/firewalls in use (by sending raw IP packets)</p><ol><li>Using the Ping protocol to ping a range of IPs</li><li>Looks for HTTP/HTTPS: ICMP Echo Request, Timestamp, TCP SYN to 443, TCP SYN/ACK to 80</li><li>Protocol-specific UDP packets, probes to TCP ports (different response on diff. OSes)</li><li>Control the rate of scanning to work under the radar</li></ol><h4>Zap (Zed Attack Proxy)</h4><p>Web proxies are tools which sit b/w browser and server, modifying messages as directed and displaying exchanged packets</p><ol><li>Zap has a GUI to inspect/modify exchanged packets</li><li>Can set up breakpoints to allow certain packets</li><li>Attempts XSS, SQL injection, Fuzzing etc</li></ol><h4>Spider</h4><p>Explores a site and creates a model of its structure</p><h4>Metasploit</h4><p>An advanced open-source platform for developing, testing and using exploit code</p><ol><li>Extensible model to integrate payloads, no-op generators, encoders and exploits</li><li>Scripting attacks via <br><strong>Probe</strong> (looking for vulnerable services), <br><strong>Construct</strong> (a payload based on the versions etc factors), <br><strong>Encode</strong> payload (to avoid detection),<br><strong>Inject</strong> payload,<br><strong>Wait</strong> for shellcode to connect back</li><li>Interactive console for metasploit commands — msfconsole (msfpayload and msfencode to generate payload and encode it)</li><li>Web-based GUI and command line</li><li>Active and passive attacks</li><li>Meterpreter</li><li>Tons of exploits against vulnerabilities (with modifiers for diff. platforms etc)</li><li>Password sniffing</li><li>Privilege escalation</li><li>Keylogging and backdoors</li></ol><h4>Kali</h4><p>Kali Linux is an open-source distribution with tons of security tools installed:<br>Metasploit, Nmap, Burp Suite, Zap, John the Ripper, Valgrind (dynamic binary analysis), Reaver (wifi pwd cracking) , peepdf (scan PDFs for attack vectors)</p><p>Penetration testing ensures that security of the system improves, the tests are reproducible and find real vulnerabilities that may have led to a breach later on and its flexible since it can be applied to the whole application or specific components. <br>However, it could miss out on some vulnerabilities, needs to be carried out again once fixed, could introduce regressions.</p><h3>Fuzzing</h3><p>A kind of random testing to ensure undesired behaviour doesn’t happen. Occurs with functional testing</p><ol><li>Black box — know nothing about program/input. Easy to start with, but explore only shallow states</li><li>Grammar based — generates input as defined by grammar, more work but explores deeper</li><li>Whitebox — new inputs by being partially/fully informed of the source code, computationally expensive</li></ol><h4>How can you perform fuzz testing?</h4><ul><li>Mutation — mutate a legal input, might adhere to a grammar</li><li>Generational — generate inputs from scratch or a grammar</li><li>Combinations — generate initial, mutate, new inputs</li></ul><h4>Tools</h4><ol><li>Radamsa — Mutation based, black box tester</li><li>Blab — Generational grammar-based tester</li><li>American Fuzzy Lop — white box, mutation based</li><li>Spike — network-based, fuzzer creation kit</li><li>Burp intruder — network-based, automates customized attacks against web apps (attacker gives template, payloads fuzzed in), integrates with spider etc</li><li>Cert Basic Fuzzing Framework (CBFF) — based on Zzuf whihc found in Adobe flash, Quicktime,</li><li>Sully — monitors target health, records, can revert to good known state, detects and categorizes and tracks faults,</li></ol><h4>File-based fuzzing</h4><p>Generate inputs, run target, see results</p><h4>Network-based fuzzing</h4><p>Inputs generated by replaying, modifying or from scratch<br>Man-in-the-middle and mutates inputs b/w parties</p><h4>Fix</h4><p>If a crash occurs, find minimal input due to which crash occurs<br>Find root cause of crash<br>is it an exploitable vulnerability (Eg.buffer overflow?)</p><h4>Memory errors</h4><p>Compile with Address Sanitizer (ASAN) -checks for dangling pointers and arrays overflows, <br>and then Fuzz it</p><p>That’s all for now, folks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c1c42453429" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/black-hat-penetration-testing-6c1c42453429">Black Hat — Penetration testing</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Software Design — Part 2]]></title>
            <link>https://medium.com/information-security-101/secure-software-design-part-2-2a35c69adad6?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/2a35c69adad6</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[buffer-overflow]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 14 Mar 2019 08:27:20 GMT</pubDate>
            <atom:updated>2018-12-20T15:41:00.880Z</atom:updated>
            <content:encoded><![CDATA[<h3>Secure Software Design — Part 2</h3><p>This post focuses on software security and covers several vulnerabilities and flaws to keep in mind while designing secure software. A system with design flaws and implementation bugs provides an entry point to attackers looking to damage the company or steal from the user. This is where <strong>Software Security </strong>comes in — it focuses on secure design and implementation of software from the coding level. Bugs are an inevitable part of the software and for most users, just a minor inconvenience. However, malicious actors actively look for bugs and exploit them to cause harm. A secure system must prevent undesired behaviour by reducing bugs or make them harder to exploit and protect the Confidentiality, Integrity and Availability of the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/0*eEeMCzRfdDJdV4dz.jpg" /><figcaption><strong>The First “Computer Bug”</strong> Moth (<a href="https://commons.wikimedia.org/wiki/File:H96566k.jpg">https://commons.wikimedia.org/wiki/File:H96566k.jpg</a>)</figcaption></figure><h4>CWE and CVE</h4><p>Common Weakness Enumeration (CWE) and Common Vulnerabilities and Exposures (CVE) are databases by MITRE which provide standards followed by the information security community. These help in eliminating the most common mistakes that developers, designers and architects make in software and lead to more secure software.<br>CVE provides a database of vulnerabilities found in specific versions of software and scores them by severity while CWE records the underlying weakness itself (which could lead to vulnerabilities), independent of any software versions.</p><p>This is part of a series covering topics in Information Security:</p><ol><li><a href="https://medium.com/@srishti_56/introduction-to-information-security-3987ece8df70">Introduction to Information Security</a></li><li><a href="https://medium.com/@srishti_56/security-in-the-cloud-55295360efe9">Security in the Cloud</a></li><li>Challenges in Mobile Security</li><li>Secure Software Design — Part 1</li><li>Secure Software Design — Part 2 (this post)</li></ol><h3>Vulnerabilities in Software</h3><h4>Low-level vulnerabilities</h4><p>These are mainly violations of memory-safety in programming languages such as C and C++, where memory can be directly accessed and modified. They include buffer overflows (on the stack and heap) vulnerabilities, integer overflows, format string mismatches, and dangling pointers. Here, a pointer is accessing memory that it’s not supposed to.</p><p>Read more about stack smashing and try it out <a href="http://www-inst.eecs.berkeley.edu/~cs161/fa08/papers/stack_smashing.pdf"><strong>with this awesome paper — Smashing The Stack for Fun and Profit</strong></a><strong>.</strong></p><p><strong>Attacks <br></strong>These exploit the vulnerabilities described above to crash the program or execute malicious arbitrary code.</p><ul><li>Stack smashing —Attacker overflows a buffer with input to fill up all the local variable space in the stack and accesses forbidden memory regions to crash the program or execute malicious code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*iT9AWQQ4LPVucmITRoep1g.png" /></figure><ul><li>Return-to-libc attack — If the stack is non-executable (see more in defences below), the return address in the stack can be changed to a location of a library function already present in the address space.</li><li>Format string attacks — If the input is not properly validated, carefully crafted malicious code could be inserted and can execute arbitrary commands on the stack.</li><li>Stale memory access — A dangling pointer points to memory which is freed. If the memory is now being used somewhere else, overwriting the memory location via the dangling pointer could cause the system to crash.</li><li>Return-oriented programming (ROP) — Carefully crafted code can be inserted into the stack by overflowing a buffer. The code generally contains a NOP sled (series of null operations executed by the CPU) until the return address of the stack frame is reached. The return address now points to a location provided by the attacker, the CPU jumps to that location and executes the malicious code.</li></ul><p><strong>Defence</strong></p><ul><li>Address space layout randomization (ASLR) — ASLR randomly arranges the address positions of the stack, heap and libraries, preventing the attacker from reliably jumping to an exploited function in memory.</li><li>Non-executable data — Makes the stack and heap data segments non-executable so that the attacker’s code in the stack cannot be executed.</li><li>Stack canaries — Prevent stack smashing and ROP by placing a special number in between the local variables and saved base pointer called a canary. The program then checks whether this number has changed before returning from the function. If an attacker overwrote the return address, the canary would be modified as well.</li><li>Memory-safety enforcement — A compile-time transformation for enforcing complete spatial safety of C. <br>Read more about it <a href="https://repository.upenn.edu/cgi/viewcontent.cgi?article=1941&amp;context=cis_reports">here</a>.</li><li>Using Memory-safe languages such as Java — do not allow direct access to memory and are not exposed by these vulnerabilities.</li></ul><h4>More about Buffer overflows</h4><p>The buffer overflow vulnerability is one of the most widespread vulnerabilities and has been exploited by almost every worm on the Internet, starting with the Morris Internet Worm in 1988 to the recent WannaCry ransomware attack in May, 2017. A buffer overflow attack is basically when an attacker provides an oversized input to fill up the buffer and write into the memory space after it. Carefully crafted input can lead to the execution of malicious code or at least crash the program.</p><p>In order to launch a buffer overflow attack, the attacker needs 2 things:</p><ol><li>Identify a buffer overflow vulnerability in the application <br>- Inspect source code of the program<br>- Trace the execution of the program with oversized input (with a debugger such as gdb for C programs)<br>- Tools such as Fuzzing</li><li>The vulnerability needs to be triggered by external data or an input string<br>- The program uses an unsafe routine such as <em>gets, strcat, strcpy, sprintf</em> etc, where it does not check the length of input it copies into the buffer. If the length was checked (eg. in <em>str</em><strong><em>n</em></strong><em>cpy, str</em><strong><em>n</em></strong><em>cat</em>) the input would be truncated and the buffer would not overflow.</li></ol><p>To try it out yourself, <a href="https://www.infsec.cs.uni-saarland.de/teaching/16WS/Cybersecurity/slides/2016-cybersecurity-syssec-3-demo.pdf">follow this demo</a>!</p><p>Note: This post has been made with reference to slides used in Information Security lectures by Mr Prasad Honnavalli and various online sources</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a35c69adad6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/secure-software-design-part-2-2a35c69adad6">Secure Software Design — Part 2</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Software Design — Part 1]]></title>
            <link>https://medium.com/information-security-101/secure-software-design-part-1-dee1e218d784?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/dee1e218d784</guid>
            <category><![CDATA[software-security]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 14 Mar 2019 08:27:14 GMT</pubDate>
            <atom:updated>2018-12-20T16:16:00.766Z</atom:updated>
            <content:encoded><![CDATA[<h3>Secure Software Design — Part 1</h3><p>When developing applications and computer software, developers focus on writing and testing accurate software that meets the requirements of the user. The security aspect of software design requires the same attention and testing but is often overlooked in favour of faster time to deployment. This poses a huge risk to the system in the long run as attackers may exploit vulnerabilities to try to steal personal or corporate information, modify information by installing malware or deny access to the system affecting the C,I and A respectively. Currently, most organisations employ black-box techniques such as firewalls, intrusion detection systems and anti-virus scanners (explained below). However, these are not as effective if the software is flawed and full of security bugs, creating a need for software security. <strong>Software Security </strong>focuses on secure design and implementation of software from the coding level and is explained in the next post (TK: add link to part 2)</p><p>This is part of a series covering topics in Information Security:</p><ol><li><a href="https://medium.com/@srishti_56/introduction-to-information-security-3987ece8df70">Introduction to Information Security</a></li><li><a href="https://medium.com/@srishti_56/security-in-the-cloud-55295360efe9">Security in the Cloud</a></li><li>Challenges in Mobile Security</li><li>Secure Software Design — Part 1 (this post)</li><li>Secure Software Design — Part 2</li></ol><h3>Security in the Software Development Lifecycle</h3><p>Security needs to be considered throughout the lifecycle to prevent, mitigate and detect possible attacks. Flaws caught early in the process cost a lot less to fix than later on!</p><ol><li>Requirements: Defining security requirements and identifying abuse cases</li><li>Design: Carrying out rchitectural risk analysis (or threat modelling) and security-aware design</li><li>Implementation: Conduct code reviews, conduct static analysis and follow secure programming practices</li><li>Testing/Assurance: Carry out risk-based security and penetration testing</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uNHdkUhIRnOdIzGW.png" /></figure><h3>OWASP’s Security by Design Principles</h3><ul><li>Minimize attack surface<br>Enforce user authentication to access certain services (now only authenticated users can try to attack rather than just anybody)</li><li>Establish secure defaults<br>The default option should always be secure, and then have options for users to reduce security</li><li>Principle of least privilege<br>Each user/employee is given the least permissions required to complete their job and no more</li><li>Defence in Depth<br>Set up several layers of security, so that if an attacker gets through one, they are stopped by other layers</li><li>Fail securely <br>Use try-catch blocks strategically to ensure maximum security and give generic error messages to the user</li><li>Don’t trust services<br>3rd-party services should not be trusted and handled carefully</li><li>Separation of duties<br>Keep roles separate and avoid giving a single role too many functions</li><li>Avoid security by obscurity<br>Keeping a vulnerability secret should only be used along with other lines of defence since it nearly always fails and someone will attack it</li><li>Keep security simple<br>Use straightforward and simple approaches when possible</li><li>Fix security issues correctly<br>Identify the root cause, develop a test and fix the issue. Ensure regressions (a change in one part of the code causes other parts of the system to fail) are not introduced when fixing the bug, especially when dealing with shared functions.</li></ul><p>Read more about it <a href="https://www.owasp.org/index.php/Security_by_Design_Principles">here</a>.</p><h3>Black-box Defences</h3><h4>Operating system security</h4><p>Operating systems provide a layer of security by governing a program’s actions by enforcing file access permissions (based on users and groups in Linux), controlling ports, sending and receiving network packets, starting programs with specific permissions and in namespaces (filesystem, network etc). Filesystem namespaces, for example, provide isolation from the rest of the system since a process running in a namespace cannot access files/directories outside that namespace. <br>However, an operating system cannot enforce fine-grained, application-specific policies and may reveal something indirectly to an attacker through its information flow.</p><h4>Firewalls</h4><p>Firewalls can intercept and monitor traffic through the ports and block suspicious payloads based on the content and origin of the traffic. <br>However, firewall filtering is usually coarse-grained and may not be able to adapt if, for example, previously benign ports become malicious (due to malware already in the system).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/0*QvW_o_8ZYFD-YjBK.jpg" /></figure><h4>Intrusion Detection Systems (IDS)</h4><p>An IDS can filter and block packets if its part of a known exploit pattern and alert the user.<br>On the downside, the IDS filter merely looks for syntactic similarities (not semantic) and can be bypassed if the attack traffic is modified to work around the filter. An IDS may also affect the availability of the service since its fine-grained filtering causes a drop in performance.</p><h4>Anti-virus scanners</h4><p>These look for malicious behaviour in a system’s files and known malware patterns. Similar to an IDS, they can be bypassed by modifying the malware and face the performance vs precision trade-off.</p><h3>Examples of exploited vulnerabilities</h3><h4>RSA breach in 2011</h4><p>The malicious Flash program was embedded into an Excel spreadsheet and ran automatically when the spreadsheet opened. The carefully crafted code ran on a vulnerable version of Adobe Flash Player which allowed arbitrary malicious code to be executed on the machine. The spreadsheet was propagated through spear phishing — attached to an e-mail appearing to be from a trusted party.</p><h4>Heartbleed in 2014</h4><p>This bug was found in the OpenSSL implementation of the SSL/TLS network protocol in 2014 (note: the vulnerability had been present in released code since 2012). A carefully crafted code causes OpenSSL to return parts of a server’s memory — a large number of attempts over time could collect usernames/passwords and other sensitive information.</p><p>Note: This post has been made with reference to slides used in Information Security lectures by Mr Prasad Honnavalli and various online sources</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dee1e218d784" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/secure-software-design-part-1-dee1e218d784">Secure Software Design — Part 1</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Challenges in Mobile Security]]></title>
            <link>https://medium.com/information-security-101/challenges-in-mobile-security-f9dbf52980a0?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/f9dbf52980a0</guid>
            <category><![CDATA[enterprise-security]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[mobile-security]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 14 Mar 2019 08:26:41 GMT</pubDate>
            <atom:updated>2018-12-19T04:42:20.790Z</atom:updated>
            <content:encoded><![CDATA[<p>Smartphones are an essential part of our lives today, taking care of everyday activities from getting to work on time to communicating with people. These devices transmit hundreds of messages, store memories and use location services throughout the day, admittedly making lives a lot easier but inadequate privacy laws and open security issues remain a cause for concern. Employee productiveness and responsiveness has improved by flexible practices such as bringing mobile devices in workplaces, usage of enterprise applications over these devices and the BYOD (Bring-Your-Own-Device) trend but has created major security challenges for enterprises.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*mL_IC-iDcjMMkjqb.png" /></figure><p>This is part of a series covering topics in Information Security:</p><ol><li><a href="https://medium.com/@srishti_56/introduction-to-information-security-3987ece8df70">Introduction to Information Security</a></li><li><a href="https://medium.com/@srishti_56/security-in-the-cloud-55295360efe9">Security in the Cloud</a></li><li>Challenges in Mobile Security (this post)</li></ol><p><strong>Challenges for enterprises in the mobile landscape include:</strong></p><ol><li><strong>Security of endpoint device and data<br></strong>This covers the separation of personal and corporate data, device wipes, preventing data leakage and introducing data policies to keep data secure.</li><li><strong>Developing secure applications <br></strong>This includes carrying out static and dynamic analysis on application code, introducing security early in the application development lifecycle, and creating application policies to protect end-users, for example — only vetted and web-store signed applications are installed (as in Apple mobiles).</li><li><strong>Securing access to enterprise applications and data<br></strong>Strict authentication on the device (biometric, multi-factor authentication etc), encryption of data over the network and at rest, strict user policies and secure APIs can help protect unauthorized access to applications.</li><li><strong>Adapting to the BOYD (Bring-Your-Own-Device) trend<br></strong>With multiple providers and platforms on the market, creating a unified solution to provide defence from all devices is quite difficult. Securing endpoints in a business environment, sandboxing applications, employing defence in depth and managing devices through a central service can add a layer of security.</li><li><strong>Practising an Adaptive Security Posture<br></strong>Using security intelligence, examining logs and creating strong policies with respect to geolocation services and user roles leads to more secure systems.</li></ol><h3>Attacks in the mobile landscape</h3><p>Malware can be disguised as a legitimate application on a trusted or un-trusted application store or embedded into its files and unknowingly downloaded by the user. Social engineering or phishing is another popular technique to infect users devices with malware and then propagate over the victim’s friend lists by inviting them to download it. They may collect user data, monitor transactions and payment information or cause harm to the user’s devices. Other types of malware, such as <em>adwares </em>show advertisements and send the victim to malicious phishing links while auto-rooters gain root-level access privileges of the phone.</p><p>Listening in on a user’s traffic (an eavesdropping attack) can give away a lot of information and possibly intercept sensitive data if not properly encrypted. Eavesdropping is a passive attack where the attacker monitors network traffic from a victim’s mobile device to a wifi hotspot. Attackers may provide free wifi hotspots to encourage users to connect to them and then spy on information sent by the device as the victim browses the internet.</p><h3>Best practices for Mobile users</h3><ol><li>Change passwords regularly and do not use any factory passwords. Use biometric authentication if possible.</li><li>Keep the OS up to date, installing system updates and security patches as soon as they are available.</li><li>Use a dedicated email address for authentication and pin requests.</li><li>Be careful while installing applications from unknown sources, especially free versions since they are popular carriers for malware. Download vetted and signed applications through official web stores.</li><li>Limit permissions of applications, especially regarding geolocation services. Provide permissions to only verified applications and only if necessary.</li><li>Do not access sensitive information or payment portals over non-secure public WiFi.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9dbf52980a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/challenges-in-mobile-security-f9dbf52980a0">Challenges in Mobile Security</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security in the Cloud]]></title>
            <link>https://medium.com/information-security-101/security-in-the-cloud-55295360efe9?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/55295360efe9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-best-practices]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cyberattack]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 14 Mar 2019 08:26:31 GMT</pubDate>
            <atom:updated>2018-12-19T04:44:16.176Z</atom:updated>
            <content:encoded><![CDATA[<p>The increasing popularity of cloud services and applications, with servers handling millions of queries a minute and hosting vast stores of customer data, has led to a number of security concerns in this vast and rapidly changing landscape. Cloud services work in multi-tenant environments, sharing the underlying resources with multiple other applications, creating a new attack surface. Moreover, the high concentration of data and operations in one place makes a data breach or account hijacking especially costly to a company.</p><p>This is part of a series covering topics in Information Security:</p><ol><li><a href="https://medium.com/@srishti_56/introduction-to-information-security-3987ece8df70">Introduction to Information Security</a></li><li>Security in the Cloud (this post)</li><li><a href="https://medium.com/@srishti_56/challenges-in-mobile-security-f9dbf52980a0">Challenges in Mobile Security</a></li></ol><p>As a Cloud Service Provider, the following challenges must be kept in mind while creating a secure platform:<br>(Ensuring Confidentiality, Integrity and Availability (CIA) of systems — as explained in the <a href="https://medium.com/@srishti_56/introduction-to-information-security-3987ece8df70"><strong>previous post</strong></a>)</p><ol><li>Protecting applications against unauthorized access using robust Identity and Access management</li><li>Designing Secure APIs and preventing malicious attacks against them<br>- These APIs are used to provision, manage and monitor applications or machines in the cloud and could have disastrous consequences if hijacked</li><li>Ensure Resource Availability and monitor/repair services (such as networking etc)</li><li>Ensure Data Privacy and Security</li><li>Provide Separation of Resources among multiple clients</li></ol><p>Amazon Web Services (AWS), for example, follows a Shared Security Responsibility Model where AWS takes care of the security of underlying cloud infrastructure and the customer is responsible for securing workloads and applications deployed in the cloud.</p><h3>Possible attacks</h3><p>Note: Precautions help in avoiding such scenarios, however, they are not foolproof</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*_mx9kcXfQR-6n2yE.png" /></figure><h4>Account or Service Traffic hijacking</h4><p>In this attack, an organisation or individual’s cloud account is hijacked or stolen by an attacker. If attackers get access to critical infrastructure in a cloud service, the confidentiality, integrity and availability of the system are at risk. They can extract sensitive data, modify transactions, redirect users to phishing sites and so on.</p><p>Precautions</p><ul><li>Multi-factor authentication: Require users to sign in with a static password plus a dynamic one-time-password (typically sent over SMS or email)</li><li>Use intrusion detection systems</li><li>Encrypt sensitive data and securely back up all data</li></ul><h4>Advanced Persistent Threats (APT)</h4><p>This is usually a complex, well-funded cyberattack undertaken by an intruder or team of intruders to infiltrate in the system and remain undetected over a long period of time. The attacker generally gains a foothold in the system through an SQL injection, trojans, spear-phishing etc and installs a backdoor in the system. Over time, data is collected across the system and more areas of the system are compromised (the malware could move laterally through the data center). Following this, attackers can perform complete site takeovers, damage major critical infrastructure and extract large amounts of data from the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UzNqhasEU6e7fVpG.png" /></figure><p>Precautions</p><ul><li>Whitelist applications and domains which interact with the service</li><li>Monitor access given to employees through behaviour analytics and routine checks to detect hijacked accounts or anomalous behaviour</li><li>Monitor traffic going in and out of the system through firewalls to detect payloads for backdoor shells, data extraction over the network, and anomalous network traffic</li></ul><h4>Meltdown and Spectre vulnerabilities</h4><p>This was discovered in January, 2018 and is basically a microprocessor vulnerability which allows data to be read from memory using malicious Javascript code. For an in-depth analysis of this vulnerability — checkout this <a href="https://www.csoonline.com/article/3247868/vulnerabilities/spectre-and-meltdown-explained-what-they-are-how-they-work-whats-at-risk.html"><strong>article from CSO</strong></a>.<br>The vulnerability could lead to side-channel attacks where an actor in the cloud could view data being used by other applications sharing the system.</p><p>Precautions</p><ul><li>Ensure that servers are updated with the latest software patches to make it harder to execute the attack</li></ul><h3>Cloud Security Best Practices</h3><p>by Cloud Standards Customer Council</p><ol><li>Ensure effective governance, risk and compliance processes exist</li><li>Audit operational and business processes</li><li>Manage people, roles and identities</li><li>Ensure proper protection of data and information</li><li>Enforce privacy policies</li><li>Assess the security provisions for cloud applications</li><li>Ensure cloud networks and connections are secure</li><li>Evaluate security controls on physical infrastructure and facilities</li><li>Manage security terms in the cloud service agreement</li><li>Understand the security requirements of the exit process</li></ol><p>More about these practices can be found <a href="https://www.omg.org/cloud/deliverables/CSCC-Security-for-Cloud-Computing-10-Steps-to-Ensure-Success.pdf"><strong>here</strong></a>.</p><p>Note: This post has been made with reference to slides used in Information Security lectures by Mr Prasad Honnavalli and various online sources</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55295360efe9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/security-in-the-cloud-55295360efe9">Security in the Cloud</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Information Security]]></title>
            <link>https://medium.com/information-security-101/introduction-to-information-security-3987ece8df70?source=rss----c46434065969---4</link>
            <guid isPermaLink="false">https://medium.com/p/3987ece8df70</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cyberattack]]></category>
            <dc:creator><![CDATA[Srishti Mishra]]></dc:creator>
            <pubDate>Thu, 14 Mar 2019 08:25:54 GMT</pubDate>
            <atom:updated>2021-04-02T07:36:39.009Z</atom:updated>
            <content:encoded><![CDATA[<p>Millions of bytes of customer data are stored somewhere on the Internet, maybe in the data centres of tech giants like Google, Microsoft and Amazon or (hopefully not) floating around the web from a data breach of a system they registered with. Attacking systems to obtain and sell this information — termed as Cybercrime — is a lucrative industry and is estimated to cost companies over $6 trillion by 2021. <br>From small businesses to large companies, identifying security and privacy issues in systems and designing them to be more secure is of utmost importance to keep sensitive data and control of critical operations out of reach of malicious actors.</p><p>This is part of a series covering topics in Information Security:</p><ol><li>Introduction to Information Security (this post)</li><li><a href="https://medium.com/@srishti_56/security-in-the-cloud-55295360efe9">Security in the Cloud</a></li><li><a href="https://medium.com/@srishti_56/challenges-in-mobile-security-f9dbf52980a0">Challenges in Mobile Security</a></li><li><a href="https://medium.com/information-security-101/secure-software-design-part-1-dee1e218d784">Secure Software Design — Part 1</a></li><li><a href="https://medium.com/information-security-101/secure-software-design-part-2-2a35c69adad6">Secure Software Design — Part 2</a></li><li><a href="https://srishti-56.medium.com/black-hat-penetration-testing-6c1c42453429">Red Team — Penetration testing</a></li></ol><h3>What is Information Security?</h3><p>Information security is termed as a means to prevent misuse, unauthorized access, and corruption of sensitive data and assets. It’s designed to build secure and reliable systems, following the Core Security Principles (represented by the <strong>CIA triad</strong>):</p><ol><li><strong>Confidentiality<br></strong>A secure system allows access to only authorized and authenticated users</li><li><strong>Integrity</strong> <br>Data that is returned from a secure system must be correct and not corrupted or modified in a malicious manner</li><li><strong>Availability</strong> <br>Data in a secure system must always be available to the user (when you want it)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*xSWmJyw_4RXltAGB.jpg" /><figcaption>CIA triad (from <a href="https://resources.infosecinstitute.com/">https://resources.infosecinstitute.com</a>)</figcaption></figure><h3>Attacks and Vulnerabilities</h3><p>An attack on a system comprises the C, I or A (described above) of an asset or the entire system by exploiting a vulnerability. Attackers generally observe and assess a system, devise an exploit to penetrate it, take control of the system, and then either collect data in the background or deny access to the system until a ransom or other criteria if fulfilled.</p><p>A <strong>vulnerability</strong> is a weakness in the system which can be exploited by a threat actor. There are hundreds of these in every system which are patched as soon they are discovered to be a risk to the system. A <strong>threat</strong> is a willingness or potential to harm a system by exploiting a vulnerability and an <strong>attack</strong> is a malicious activity on an asset carried out by the threat actor on the system.</p><h4>Impact of Attacks</h4><p>During threat modelling and assessing risks, the impact level of an attack is often useful. <br>For organisations, the level of impact of an attack is characterized as:</p><ol><li>High<br>- Could have a severe or catastrophic adverse effect on operations, assets or individuals</li><li>Medium <br>- Could have a serious adverse effect</li><li>Low<br>- Expected to have a limited adverse effect</li></ol><h4>Types of Attacks</h4><p>Attacks can be:</p><ul><li>Active — A deliberate attempt to affect operations of the system or modify a data stream. Includes Replay, Masquerade, Modification, Denial of Service attacks.</li><li>Passive — An attempt to collect or use information from a system without affecting the operations of a system. Includes eavesdropping and releasing message contents, Analysing (network) traffic of a system.</li><li>Insider — An attack initiated from inside the system</li><li>Outsider — An attack from outside the security perimeter</li></ul><h4>Cyber attacks</h4><p>Cyber attacks usually fall under</p><ul><li>Deliberate attacks — due to their value of data and high profile identity of the company, like the Target security breach</li><li>Opportunity attacks — attacks on entities with exposed common vulnerabilities found from scans over the Internet.</li></ul><h4>Attack Surfaces</h4><p>An attack surface is an exposed region where a malicious actor can launch an attack.<br>There are 3 major attack surfaces:</p><ol><li>Network attack surface<br>Vulnerabilities present on over the Internet, WAN (Wide Area Networks), or in the network protocol<br>Attackers can launch Denial of Service, Disruption of communications, Eavesdropping and Intruder attacks</li><li>Software attack surface<br>Vulnerabilities in the applications, operating systems, web server software etc</li><li>Human attack surface<br>Vulnerabilities in personnel, through social engineering, human error or insiders</li></ol><p>Attacks can target a range of systems including Internet applications, Operating systems, Databases and Cloud, IoT and Mobile applications/devices. With the explosion of IoT devices in the market, attack surfaces have expanded rapidly as more non-secure devices come online and are vulnerable to attacks.</p><h3>Finally, what can we do?</h3><p>Countermeasures are safeguards against attacks and reduce risk to assets through proper prevention, detection and recovery procedures. However, if not implemented properly, they may introduce new vulnerabilities or not protect existing vulnerabilities adequately. Following best security design practices (covered in a post later on) and keeping up with current attacks and new vulnerabilities is essential to keeping systems up to date and secure. Investing in the security of their systems can save the company in the long run and protect them from data breaches and ransomware attacks which are extremely expensive and may result in loss of trust from customers.</p><p>Note: This post has been made with reference to slides used in Information Security lectures by Mr Prasad Honnavalli and various online sources</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3987ece8df70" width="1" height="1" alt=""><hr><p><a href="https://medium.com/information-security-101/introduction-to-information-security-3987ece8df70">Introduction to Information Security</a> was originally published in <a href="https://medium.com/information-security-101">Information Security 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>