<?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[Stories by AngelaQ on Medium]]></title>
        <description><![CDATA[Stories by AngelaQ on Medium]]></description>
        <link>https://medium.com/@msangelaq?source=rss-dab8aac7b9c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SiT8y7UT_dJGoaH6P1MhWQ.png</url>
            <title>Stories by AngelaQ on Medium</title>
            <link>https://medium.com/@msangelaq?source=rss-dab8aac7b9c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 12:59:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@msangelaq/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Example Security Architecture Design Document]]></title>
            <link>https://medium.com/@msangelaq/example-security-architecture-design-document-9bdea9b338f8?source=rss-dab8aac7b9c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bdea9b338f8</guid>
            <category><![CDATA[it-security-training]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[it-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[it-security-consulting]]></category>
            <dc:creator><![CDATA[AngelaQ]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 19:50:43 GMT</pubDate>
            <atom:updated>2022-02-02T10:33:03.227Z</atom:updated>
            <content:encoded><![CDATA[<p>Beginning a career in IT can be both exciting and intimidating. Data security is a growing concern and a growing industry in today&#39;s world. I created this example Security Architecture Design Document to lay down some best practices for building a secure infrastructure for a growing online retailer. I broke down a lot of the ideas for anyone to have a basic understanding of some complicated ideas. As IT is an ever-growing industry, please feel free to inform me when standards change and change the document according to your individual needs as a client.</p><p><strong>The primary security goals</strong> for this organization include: protecting the confidentiality of data, only allowing authorized access to user information, preventing tampering of data, making data accessible and usable, logging transactions for accounting and continued support activity, and a secure way to verify the authenticity of the customer performing a transaction.</p><p>It is also pertinent that the security infrastructure aligns with commerce laws and standards. For example, since the client will be taking payment information, the security infrastructure must abide by the PCI DSS (Payment Card Industry Data Security Standard) standard. This framework will set clearly defined security goals to build and maintain a secure network and system.</p><p>To create a safe environment for customers and developers, this company will employ a multi-layered protective approach to security. This document will address the following areas: Hardware, infrastructure, service deployment, user identity, storage services, internet communication, and operational security. At a higher level, the document will describe the security design associated with the organization and the best practices for human interaction and operation with the machines.</p><p>The document will describe more detailed specifications at a lower level, such as external interfaces, retrieval mechanisms, hardware, software, and data storage.</p><p>We want to reduce software deployments and replace everything with one unified solution with less complex code. Furthermore, the client must disable unnecessary or unused components of software and systems deployed to reduce the risk of being compromised as much as possible.</p><p><strong>The most important considerations</strong> associated with the clients&#39; security infrastructure include an authentication system, external website security, internal website security, remote access solutions, firewall, and basic rules recommendations, wireless security, VLAN configuration recommendations, laptop security configuration, application policy recommendations, security and privacy policy recommendations, and intrusion detection or prevention for systems that contain customer data.</p><p>By addressing all these layers of security, we will have reduced the total attack surface and, therefore, the risk of a security breach.</p><p><strong>Beginning with hardware infrastructure:</strong> The client needs hardware with security features included. Hardware with sensitive information will utilize full disk encryption (FDE). FDE protects from some physical forms of attack. A fully encrypted disk will not allow access without knowing the encryption password or having access to the encryption key. Without it, the data on the drive is meaningless. TPM is a hardware device integrated into the hardware of a computer that works as a dedicated crypto processor — offering a secure generation of keys.</p><p>The FDE configurations will have a small unencrypted boot partition that contains things like the kernel, bootloader, and other critical parts of the system. Since these are parts of the drive are not encrypted, they are vulnerable to attack. To protect against this kind of attack, administrators must use secure boot protocol, which uses public-key cryptography to secure the unencrypted parts of the booting process. I recommend our client use Microsofts&#39; FDE solution — Bit Locker.</p><p>Since FDE encryptions schemes rely on the secret key for encryption and decryption operations, it requires a password to protect access. When someone forgets a password, the disk&#39;s contents are not recoverable. Therefore, I recommend our client use a key escrow functionality that allows encryption keys to be safely stored for later retrieval by an authorized party.</p><p>The client must take a multiple layer approach to physical security, limiting access to data centers and requiring multiple authentication factors to access.</p><p><strong>Service deployment authentication</strong> will verify that the user is whom they claim they are to grant them access to the server. To authenticate a user, the user enters their credentials and sends them to the authentication server, which matches the credentials.</p><p>The organization will want to use AAA security best practices when setting up its server security. This includes using multifactor authentication, a system where users are authenticated by presenting multiple pieces of information or objects. The three factors should be at least two of the following: something they know like a password or pin, something they have like a physical token or something they are such as biometric data.</p><p>TACACS + is a complete AAA system that handles authorization and authentication. Once a user is authenticated by allowing or disallowing access for the user account to run specific commands or access certain devices, the system lets you give administrative access to users who administer devices and still allows less privileged access to other users. TACACS + can also be used for accounting purposes to keep track of user authentication, what systems they authenticated to, and what commands they ran during their session.</p><p>OAuth 2.0 and OpenID together are popular options for an AAA system. OAuth is an open standard that allows users to grand third-party websites and applications access to their information without sharing credentials. It&#39;s commonly used to grant access to third-party applications to use APIs offered by companies like Google, Microsoft, and Facebook. While OAuth is an authorization system, OpenID is an authentication system. They are typically used together, so they have been updated to integrate well.</p><p>In addition, RADIUS accounting can also track details of a session like its duration, the client location, bandwidth, and other resources used during the session. The information gathered through accounting is helpful in logging sessions and continued support activities.</p><p><strong>The best practices for hardening the clients&#39; network</strong> include reducing potential vulnerabilities through configuration changes and taking specific measures to minimize all attack surfaces, for example, disabling unnecessary extra services or restricting access to them. Our client also wants to take the necessary steps for their engineering employees to access the network securely.</p><p>Our client can implement safe remote access control objectives by considering the following factors: What devices will require remote access. What kind of remote access is appropriate given the device used. They must consider if the access will be from a public location, another company site, or internal wireless. Next, they must discuss what processes and data are accessible depending on the first three characteristics of the role.</p><p>Once the client understands the role&#39;s requirements, they can configure network and authentication settings to deploy the proper security infrastructure and maintain costs within budget.</p><p>The network security concept of <strong>implicit deny </strong>should be used to ensure that anything that is not explicitly permitted through ACL configurations should be denied. They can typically be configured through a firewall. Implicit deny — also called whitelisting — is less convenient for users; however, it is much more secure.</p><p><strong>For the clients&#39; intranet</strong> — since the data is only accessed by company employees, configurations must be set so that all information is private from other information maintained on the infrastructure. The access is kept within their intranet by implementing a firewall mechanism. In addition, they must specify which authentication method their employees will use to access information within the intranet, and administrators must monitor activities and user management.</p><p><strong>Analyzing logs</strong> allows the client to establish a baseline of their typical network traffic to see what unusual or attack traffic looks like. Analyzing firewall logs, authentication server logs, and application logs is a best practice for IT support specialists to utilize and implement. They must also pay extra attention to any external-facing devices or services on the network since they are potentially subject to more malicious traffic.</p><p>Alerts require data to be normalized to combine logs from different devices and systems and format them in a standard way. By <strong>normalizing logged data</strong>, the client can perform correlation analysis by taking the logs data from different systems and matching events across the entire system.</p><p>Administrators will configure log analysis systems using user-defined rules to match a-typical log entries. Then, they can be seen through alerting systems to let security engineers investigate the alert. Part of the alerting process would also involve categorizing the alert based on the rule it matches. The client will also need to assign priorities to facilitate this investigation and permit better searching or filtering.</p><p>Analyzing logs is a critical part of investigating and recreating the events that occurred once a compromise is detected. In addition, it&#39;s a crucial part of creating a <strong>post-fail analysis </strong>to make appropriate changes to configurations, determine the extent and severity of the compromise, show if any other systems were compromised, and tell you if the attackers stole any data and what that data was.</p><p>I recommend our client use SPLUNK as a log analysis server since it can grab logs data from a wide variety of systems and allows for powerful visualization of activity based on logged data, making it easier for administrators to spot abnormalities.</p><p>Another critical aspect of network hardening is setting up flood guards. <strong>Flood guards</strong> protect against DOS (Denial of Service) attacks by triggering alerts once a traffic threshold is reached. Fail2Ban is a common open-source flood guard, especially for smaller organizations.</p><p>To further harden the clients&#39; network — they must implement a network separation security principle. Applying this principle will allow them to manage their network with more flexibility. Using VLANs to create virtual networks for employees while having separate networks for other services like printers can further restrict unnecessary access to some services and reduce the total attack surface.</p><p><strong>Network hardware hardening</strong> practices will also be required for internal and external-facing networks. Our client can use <strong>DHCP snooping</strong> to protect against DHCP rogue server attacks. DHCP is a target for attackers because it is a protocol where devices on a network are assigned critical configuration information for communicating on the network. Since an attacker could deploy a rogue DHCP server on the clients&#39; network, administrators must use DHCP snooping to monitor DHCP traffic being sent across it. DHCP snooping also tracks IP assignments and maps them to hosts connected to switch ports, building a map of assigned IP addresses to physical switch ports. An administrator can also use this information to protect against IP spoofing and ARP poisoning attacks.</p><p><strong>IP spoofing</strong> is when an attacker creates IP packets with a modified source address to either hide the identity of the sender of the packers or to impersonate another computer.</p><p><strong>ARP poisoning</strong> is when an attacker sends modified ARP messages to a LAN. The attacker can then associate their MAC address with the IP address of another host, such as the default gateway. Then, they can re-route the traffic meant for that IP address to themselves. Both IP spoofing and ARP poisoning attacks are generally used as an opening to other attacks such as denial of service attacks, man-in-the-middle attacks, session hijacking, and DDOS attacks.</p><p><strong>DHCP snooping</strong> requires you to designate a trusted DHCP server IP and tell if it operates as a DHCP helper. It forwards the DHCP requests to that server. You can enable DHCP snooping trust on the uplinked port, where the legitimate DHCP responses would come from after setting those configurations. Any DHCP responses coming from untrusted IP addresses or a downlinked switch port would be detected, untrusted, and discarded by the switch.</p><p>The client will also want to employ <strong>Dynamic ARP inspection</strong> as another form of network hardware hardening. It protects against gratuitous ARP response attacks. This attack could enable IP forwarding, allow an attacker to monitor traffic intended for the victim, and manipulate and modify data. Dynamic ARP inspection or DAI is a feature on enterprise switches that prevent ARP spoofing that requires DHCP snooping to establish a trusted binding of IP addresses to switch ports. The designated DHCP snooping switch drops any detected gratuitous ARP packets.</p><p>Another network hardening feature our client must use to prevent IP spoofing attacks is <strong>IP source guard</strong> or IPSG. When enabled on the enterprise switch along with DHCP snooping, the administrator can use the DHCP snooping table to create ACLs for each switchboard dynamically. When a packet doesn&#39;t match the IP address for the port based on the DHCP snooping table, the IPSG enable switch drops the packets.</p><p>For the best network security, our client must use <strong>802.1x - </strong>a network authentication protocol that only opens ports for users to access a network when the organization authenticates a user&#39;s identity and authorizes access to the network. The RADIUS server confirms their identity.</p><p>802.1X uses <strong>EAP TLS</strong> protocols to send client information over wireless networks. EAP TLS is the only protocol that supports certificate-based authentication and therefore is the most secure authentication standard.</p><p>Our client will need <strong>network software hardening</strong> tools to harden the network even more. Network software hardening tools include firewalls, proxies, and VPNs.</p><p>Although<strong> firewalls</strong> on their own do not provide enough network security, they remain a critical part of network infrastructure devices. This is because firewalls can regulate traffic flow for an entire network.</p><p>I recommend that the client employ both <strong>host-based and network-based firewall solutions</strong> as the company grows. Host-based firewalls protect mobile devices and could be used in an untrusted environment. It is also helpful for protecting other hosts from being compromised by an attack if another corrupt device is on an internal network. To configure a host-based firewall, start with an implicit deny rule and then selectively enable specific services and ports that users will need.</p><p>A network-based firewall typically protects an entire network. While network-based firewalls are helpful for more extensive networks, host-based firewalls are useful to configure and maintain individual devices within a network.</p><p>When deploying devices with host-based firewalls, it is also essential to consider that people can change firewall rules and configurations if they have administrator rights. This activity needs to be monitored through logging and prevented with Microsoft windows machines when administered with active directory.</p><p>To provide<strong> secure remote network access</strong> to engineers, the client can either use a VPN tunnel, a proxy, or a reverse proxy for all the traffic between the device and the office. It is recommended to keep the network that VPN clients are connected to separate using subnetting and VLANs. A proxy server could allow web traffic to be proxied through a server that administrators can control. IT administrators can use a proxy configuration for logging web requests of client devices, and then those devices can be used for logs and traffic analysis to conduct forensic investigations. In addition, a proxy server can be used by IT administrators to block content that might be malicious.</p><p>A <strong>reverse proxy</strong> is also a good alternative as administrators can configure it to allow secure remote access to a network. By configuring a reverse proxy at the edge of a network, the reverse proxy intercepts connection requests to services inside the network coming from outside the network. Then, the requests are forwarded to the internal service. The reverse proxy acts as a communication bridge between the remote client outside the network and the internal service. The IT administrator can configure specified ACLs on the reverse proxy to restrict access further. I recommend that our client use Nginx as a reverse proxy to allow engineers to access the internal network remotely.</p><p>To<strong> secure wireless coverage</strong> in the office, the client can use an 802.11 WLAN router with a pre-shared key (PSK) configuration or login-based limited access to company WIFI. Access will be password protected and metered.</p><p>WPS — or WiFi-protected setup is a feature designed to make it easier for clients to join a WPA — PSK-protected network. However, it is not appropriate for enterprise use and must not be enabled on their APs. To verify that WPS is disabled, system administrators have to use the WASH tool, which scans and enumerates a device that has WPS enabled. I recommended that administrators verify each device and buy routers that allow you to disable WPS.</p><p>Administrators must also consider <strong>network monitoring procedures</strong> and protocols. They must capture packets from network traffic for analysis and logging. Intercepting network packets for analysis is called packet sniffing. Administrators can place the interface into what&#39;s called promiscuous mode. This setting will allow the interface to accept and process any packets it sees, not just the ones that are specifically addressed. The device must be inserted between the switch&#39;s uplink port and the uplink device further upstream to have access to all packets in and out of that local network segment.</p><p>For this clients&#39; business,<strong> port mirroring </strong>will help take all the packets from a specific port, port range, or entire VLAN and mirror the packets to a specific switch port. By using port mirroring, administrators can access all packets passing on a switch more conveniently and securely. Furthermore, administrators should use monitor mode to scan across channels to see all wireless traffic sent by APs and clients.</p><p>Administrators can use the <strong>Wireshark</strong> tool to capture and analyze packets. This tool has many capabilities, including a graphical utility and decoding encrypted payloads if the encryption key is known. It can also identify and extract data payloads through protocols like SMB or HTTP. In addition, Wireshark will allow administrators to filter rules like fiding HTTP requests with specific strings in the URL. Wireshark supports over 2000 protocols and lets you quickly reassemble and view both sides of a TCP session.</p><p>By capturing and inspecting packages, administrators can understand what type of traffic is flowing on the network and spot any abnormalities.</p><p>Our client must also protect their system using <strong>antimalware or anti-virus software</strong>. Anti-virus software is signature-based, meaning that it has a database of signatures that can identify known malware. The software will monitor and analyze things like new files being created or modified to watch for behavior that matches a known malware signature. If it matches a known malware signature, it will attempt to block the malware from harming the system depending on the type of signature. For example, some signatures might only detect the malware after the infection has already occurred. In that case, it might try to quarantine those files or log and alert that it has detected a match. A trusted anti-virus system must be used as an extra layer of defense.</p><p>For content you want systems to automatically trust, like system updates or software in common use that comes from reputable and trusted vendors, our client can use <strong>software signing</strong> — where a vendor can cryptographically sign binaries they distribute using a private key.</p><p>Our client must take measures to <strong>harden applications</strong> on their systems because many attacks depend on exploiting bugs in software. To protect against this type of attack, administrators must have a good strategy to check for, distribute, and verify software updates and security patches.</p><p>Administrators also need a strategy for <strong>patching OS and Firmware</strong> that runs on their devices since every device has code running on it and therefore might have software bugs. This includes routers, switches, phones, and printers.</p><p>Our client must use a <strong>management tool</strong> by Microsoft called <strong>SCSM</strong> or System Center Service Manager to allow administrators to overview what software is installed across their fleet of systems. Using this tool, the clients&#39; security team can analyze what software and version of the software are installed in their fleet. When updates are released, those updates are pushed to the entire fleet, and administrators can view reporting tools to see who has applied the updates or force install updates after a specific deadline.</p><p>Our client must make policies to minimize the risk of an attack through application software. The purpose of the <strong>application policies</strong> is to define what applications are allowed or disallowed. They also serve to educate users on the safest way to use application software.</p><p>Once administrators understand what kind of tools their employees need, they can implement policies and guidelines regarding application software. If a common task requires a specific tool, administrators should select the most secure software solution to implement and require that the entire company use that choice to create a more uniform installation.</p><p>Some policies that create safer work practices include: defining what type of software can be whitelisted, defining rules for browser extensions and add ons, and clearly defining classifications of risky extensions and add-ons. In addition, policies must state how to minimize attack surfaces and give employees clear solutions to accomplish tasks.</p><p>The client must create a <strong>company culture for security</strong> and continue educating their staff on safely and productively accomplishing tasks. In addition, legal requirements such as abiding by the <strong>PCI DSS</strong> help administrators outline security objectives. These are: build and maintain a secure network and systems, protect cardholder data, maintain a vulnerability management program, implement strong access control measures, regularly monitor and test networks, and maintain an information security policy. These policies create guidelines for the policies administrators must write in the organizations&#39; approaches to create a security culture.</p><p>The <strong>internal policy</strong> is another way the organization can create and enforce a culture of security. The organization must have well-defined and well-established privacy policies and defined practices for how administrators will implement them. The policies will include guidelines on how data is classified and how different classes are handled. In addition, the organization must conduct periodic audits on when sensitive data is accessed to ensure that the user accessed the data for legitimate business reasons.</p><p>Furthermore, administrators must ensure that their organization has policies around <strong>password security</strong>. They must find a balance between security and usability in terms of having long, complex passwords. I recommend that users have a moderately long and complicated password and adjust the password rotation period to find a secure balance. The users must also be sure to come up with new and unique passwords every time instead of using the same passwords for personal and work accounts. I recommend administrators use a password change system to check against old passwords to ensure that the password is new and unique.</p><p>Password policies and procedures must include two-factor identification and the use of tools like password alert. Password alert is a chrome extension from google that can detect when you enter your password into a site that is not an actual Google page. Clear and specific policies will also fight against phishing attacks alongside good spam filters and efficient user education. Administrators must offer regular security training to their users.</p><p>To continue to ensure our clients&#39; data is secure, administrators must have a strategy in place to determine risks or exposure and design defenses around these risks on an ongoing basis. It is crucial to perform regular <strong>vulnerability scanning</strong> with solutions like Nessus. This scanner runs on your system and conducts periodic scans of configured networks. It looks to discover hosts on the network by performing repeated scans. The services look further into the type of service and what version is listening on the port. Once the scan is finished, the discovered vulnerabilities are put into a report so an analyst can quickly review it and see if there are any problem areas in the network.</p><p>Since vulnerability scanners can detect things from misconfigured services to a back door in a system, the clients&#39; organization must regularly conduct an automated vulnerability scan and update the vulnerability database.</p><p>To further measure and assess risk, I recommend that the client conduct <strong>penetration tests</strong> regularly. Running these tests will ensure that detection and alerting systems are working correctly and show administrators where there are weak spots in the system.</p><p>Since our client has a smaller company right now and might not want to dedicate as many labor hours to administering all aspects of the organizations&#39; security architecture in-house, I recommend that our client use some third-party security options to conduct a vendor risk review or security assessments. Administrators must verify that the vendor is trustworthy by completing a questionnaire or asking for a third-party security assessment.</p><p><strong>Third-party software solutions</strong> must conduct basic vulnerability assessments to ensure that their product has reasonable security. If the third-party service includes installing any infrastructure equipment on-site, administrators must pay close attention to how they are doing it. Administrators must make appropriate adjustments to firewall rules to restrict access when any outside vendor requires remote access to an infrastructure device to perform maintenance. Finally, administrators must monitor any third-party devices and evaluate any hardware used in a lab environment first to run an in-depth vulnerability assessment and penetration testing to ensure no obvious vulnerabilities in the product.</p><p>When incidents are detected through an established intrusion protection system that alerts us to a threat, an employee noticed something, or an employee leaked a private piece of information, administrators must analyze and determine the <strong>effects and scope of the damage</strong>. Some things to consider after an incident occurs are: what data was leaked, how bad was it, were systems compromised, if so, what systems, and what level of access did the attacker manage to get, was it a data leak or a malware infection? If it was an infection, what systems were infected?</p><p>As stated earlier, administrators can easily detect outliers with good monitoring and understanding of the organizations&#39; baseline systems. Once the scope of the incident is determined, administrators must work to contain the damage. Since a malware infection is very time-sensitive, it&#39;s crucial to set up a strategy to respond quickly and accordingly to the nature of the attack.</p><p>Once the client has determined the attacks&#39; severity, impact, and recoverability, the response and recovery process must begin. Sometimes administrators will not be able to remove malware, and therefore the affected systems must be restored to a known configuration either by rebuilding the machine or restoring it from backup. Other times, containment is a possibility. Administrators must shut down infected systems and remove network access to cut off communication from the rest of the system. If an attacker compromised a critical piece of networking infrastructure, then shutting that system down won&#39;t work since it would severely impact other business operations. In these cases, malware is designed to periodically check into a command and control server to sever communications with the infected host.</p><p>To further investigate an attack on a machine, administrators must take an image of the disk. This allows them to analyze the disk&#39;s contents without the risk of modifying the original files. By conducting forensic analysis on the machine, administrators can provide details of the attack to law enforcement and the security community. Investigation and analysis are critical parts of writing post-mortems to prevent the attack from ever succeeding again. When all traces of the attack have been removed and discovered, administrators must thoroughly test the system to ensure proper functionality has been restored. I recommend additional detailed monitoring and logging and updating firewall rules and ACLs when discovering an exposure during the investigation.</p><p>Administrators must automate configurations using a mobile device management tool to enable storage encryption and grant or deny permissions to which app has access to what data for mobile security and privacy. Troubleshoot app permissions, and location permissions must also be configured.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bdea9b338f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>