<?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 Betül Sena Birinci on Medium]]></title>
        <description><![CDATA[Stories by Betül Sena Birinci on Medium]]></description>
        <link>https://medium.com/@betulsenabirinci?source=rss-bec299b3829e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AL5kD7FfvCPUNnnXjAeZKg.jpeg</url>
            <title>Stories by Betül Sena Birinci on Medium</title>
            <link>https://medium.com/@betulsenabirinci?source=rss-bec299b3829e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 01:56:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@betulsenabirinci/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[UNIQUESEC TASK 6: What is Web App Vulnerabilities like XSS, RCE and IDOR?]]></title>
            <link>https://betulsenabirinci.medium.com/uniquesec-task-6-what-is-web-app-vulnerabilities-like-xss-rce-and-idor-9c5445b957a0?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c5445b957a0</guid>
            <category><![CDATA[rce]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-app-vulnerabilities]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[idor]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Sun, 21 Jan 2024 19:23:25 GMT</pubDate>
            <atom:updated>2024-01-21T19:40:36.452Z</atom:updated>
            <content:encoded><![CDATA[<h3>UNIQUESEC TASK 6: What is Web App Vulnerabilities like XSS, RCE and IDOR? Briefly Examine Vulnerabilities</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jv7YJfF1c6e_CDNi.png" /></figure><p>Hello everyone☺️ today we have some practical topics. I will explain the XSS, RCE and IDOR vulnerability superficial💻</p><h4>What is XSS vulnerability?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/0*0j8M8g8HyQQsRjaH.png" /></figure><p>XSS means Cross site scripting. XSS able to use malicious scripts are injected into otherwise benign and trusted websites. This is an type of injection attacks like Sqli. Attacker sends the malicious scripts to the target. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it looks like came frome trusted sources. Malware can access target’s session cookie, token or any sensitive data.</p><p><strong>🚀 Ok, now we know the vulnerability but what is the main point?</strong></p><ol><li>Most important thing is the code review. Search for all places input place for http request. Check your input type.</li><li>Different Html tags use for also injection. Don’t use blacklist method instead of whitelist method.</li><li>XSS attack can be without &lt;script&gt; tags. Other tags also use for xss.</li><li>Filtering of untrusted data typically involves converting special characters to their HTML entity encoded counterparts (however, other methods do exist, see references). These special characters include:<br>* `&amp;` * `&lt;` * `&gt;` * `’` * `’` * `/`</li></ol><p>For example, below we name the source of the image tag as <strong>x</strong>. This means go to source <strong>x</strong> if you can find it, otherwise run onerror. I think it is similar to the if-else structure. If there is a resource with x then go to it and export the image otherwise run error status.</p><pre>&lt;img src = x onerror=alert(&quot;Sena&quot;)&gt;</pre><p>In below, there is an test site for xss which is <a href="https://xss-game.appspot.com/level1">https://xss-game.appspot.com/level1</a>. Let’s try our javascript code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZDC-ES1MqQOYzaio6MAqYQ.png" /></figure><p>Paste code to the search bar and then enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3F-ApD6nHXQQOy15PU13qA.png" /></figure><p>Of course there is no img source like x. Therefore we saw the alert. You can keep going with this site to find vulnerabilities.</p><p>Some XSS Payloads,</p><p>You can check for more this <a href="https://github.com/payloadbox/xss-payload-list">site</a></p><pre>&quot;-prompt(8)-&quot;<br>&#39;-eval(&quot;window[&#39;pro&#39;%2B&#39;mpt&#39;](8)&quot;)-&#39;<br>&quot;onclick=prompt(8)&gt;&quot;@x.y<br>&lt;img/src/onerror=prompt(8)&gt;<br>&lt;/scrip&lt;/script&gt;t&gt;&lt;img src =q onerror=prompt(8)&gt;<br>&#39;`&quot;&gt;&lt;\x3Cscript&gt;javascript:alert(1)&lt;/script&gt;    <br>&lt;audio src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/audio&gt;<br>&lt;video src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/video&gt;<br>&lt;body src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/body&gt;<br>&lt;image src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/image&gt;<br>&lt;object src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/object&gt;<br>&lt;script src=1 href=1 onerror=&quot;javascript:alert(1)&quot;&gt;&lt;/script&gt;<br>&lt;svg onResize svg onResize=&quot;javascript:javascript:alert(1)&quot;&gt;&lt;/svg onResize&gt;<br>&lt;title onPropertyChange title onPropertyChange=&quot;javascript:javascript:alert(1)&quot;&gt;&lt;/title onPropertyChange&gt;<br>&lt;iframe onLoad iframe onLoad=&quot;javascript:javascript:alert(1)&quot;&gt;&lt;/iframe onLoad&gt;<br></pre><h4>🥷🏻 What is RCE?</h4><p>RCE are attacks in which an attacker can run malicious code on an organization’s computer or network. An attacker can use it for a variety of purposes, such as stealing sensitive data or distributing malware.</p><p><strong>☞ How Does Remote Code Execution Work?</strong><br>RCE usually occurs due to vulnerabilities in the web application and network infrastructure.</p><p>RCE are software flaws that allow an attacker to execute malicious code on the target system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IXZYmSHUMN8ps3Rp.png" /><figcaption>RCE</figcaption></figure><p><strong>Most known RCE Vulnerability Examples ;</strong></p><ol><li>WannaCry</li><li>Zoom RCE</li><li>CVE-2020–17061: Microsoft SharePoint Remote Code Execution Vulnerability</li><li>CVE-2020–17051: Windows Network File System Remote Code Execution Vulnerability</li><li>CVE-2020–5902: F5 BIG-IP Remote Code Execution Vulnerability</li><li>CVE-2021–44228: Log4J</li></ol><p><strong>🔦 How can we find with tools the RCE?</strong></p><ol><li>Rce-scanner tool (<a href="https://github.com/topics/rce-scanner">https://github.com/topics/rce-scanner</a>)</li><li>Rce-finder tool (<a href="https://github.com/plenumlab/rce-finder">https://github.com/plenumlab/rce-finder</a>)</li></ol><p><strong>🔐 How can we prevent RCE attacks?</strong></p><ol><li>Use buffer overflow protection</li><li>Input Validation — Sanitize user input</li><li>Properly configure your user authentication mechanisms</li><li>Use a firewal</li><li>Use proper threat/intrusion detection software</li><li>Always keep your operating system and your third-party software up-to-date</li></ol><p><strong>👀 What is Insecure Direct Object Reference?</strong></p><p>It is a dangerous type of vulnerability that allows operations such as deleting, adding, changing and reading data without a user’s permission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*D5i9U8lk8NkMVubp.png" /><figcaption>IDOR</figcaption></figure><p><strong>Test Scenario🗣️</strong></p><p>Suppose you have a web application that allows users to view their own account information. Each user has a unique identifier associated with their account, and the application uses this identifier to fetch and display user-specific data.</p><p>Here’s a simplified URL structure for accessing user account details</p><pre>https://example.com/account?user_id=999</pre><p>In this case, “999” is the user identifier. The application might use this identifier to retrieve and display the corresponding user’s account information. Now, let’s explore the IDOR vulnerability:</p><ol><li>Normal Usage:</li></ol><ul><li>User A logs in and accesses their account using the URL: https://example.com/account?user_id=999. The application fetches and displays User A&#39;s account details.</li></ul><p>2. IDOR Scenario:</p><ul><li>User B, who is unauthorized, discovers that changing the user_id parameter in the URL allows access to other accounts.</li><li>User B modifies the URL to: <a href="https://example.com/account?user_id=456.">https://example.com/account?user_id=987.</a></li><li>If the application does not properly validate the user’s permissions, it might fetch and display User B’s account details instead of preventing the unauthorized access.</li></ul><p>In a secure application, the server should verify that the user making the request has the proper authorization to access the specified account. Failing to perform this check can lead to IDOR vulnerabilities, allowing users to access data they are not supposed to see. To prevent this, the application should implement robust authorization checks to ensure that users can only access their own data.</p><p><strong>🦾 What is the impact of IDOR?</strong></p><p>IDOR vulnerability has major impacts. Since attackers can control the account they have captured, they can also obtain all information on the account. In addition, since the IDOR vulnerability will make it possible to bypass identity verification, it will also make it possible to log in to a more authorized account. An attacker who gains access to an authorized account can cause many vulnerabilities by activating other types of vulnerabilities he detects in the system. This method is also used by experts during the authorization escalation stages during penetration testing studies.</p><p><strong>💪🏻 How can we prevent IDOR vulnerability?</strong></p><ol><li>Strong Authentication and Authorization:</li></ol><ul><li>Use robust mechanisms for user authentication and authorization.</li><li>Verify the permissions of the user performing each operation.</li></ul><p>2. Validate References:Validate the objects requested by users and check whether the requesting user is authorized to access those objects.</p><p>3. Inspect Checkpoints: Regularly inspect the application for insecure direct object references to identify and fix vulnerabilities.</p><p>4. Security Testing: Conduct regular security testing, including penetration testing, to identify and address potential IDOR vulnerabilities.</p><h4>Resource:</h4><p>Source you can analyze:<a href="https://owasp.org/www-community/attacks/xss/">https://owasp.org/www-community/attacks/xss/</a></p><p>Source you can look for Html tags:<a href="https://www.tenable.com/plugins/was/98105">https://www.tenable.com/plugins/was/98105</a></p><p>I hope it will be useful for you🙏🏻 You can find my social media accounts below to express your opinions. Hope to see you in the next topic :)</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c5445b957a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC TASK 5: What is Proxy and Usage? Authentication -Authorizations & Frontend-Backend]]></title>
            <link>https://betulsenabirinci.medium.com/uniquesec-task-5-what-is-proxy-and-usage-authentication-authorizations-frontend-backend-0874f4f389cb?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/0874f4f389cb</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[authorization]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[proxy]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 14:36:31 GMT</pubDate>
            <atom:updated>2024-01-08T14:42:45.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Q-ZFDT_7x56PXWTL.png" /></figure><p>Hello everyone, hope you are well🌸 We’re keep going effective. Last 2 article is about general web works actually. Today, we’ll learn frontend-backend and their technologies, Authentication and authorization concepts and The last topic is proxy, proxy usage, proxy’s importance.</p><h4>What is Frontend&amp;Backend?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VT4GpDJ-Uru1HDsY" /></figure><h4>Front-End</h4><p>Frontend refers to the part of a software application or website that users interact with directly. It involves the user interface (UI) and user experience (UX) components that users see, touch, and interact with. In web development, the frontend is often built using technologies like HTML, CSS, and JavaScript. HTML defines the structure of the content, CSS styles the presentation and layout, and JavaScript adds interactivity and dynamic features.</p><p>The frontend is responsible for creating a visually appealing and user-friendly interface, ensuring that users can navigate the application or website easily. It encompasses everything a user experiences, from buttons and forms to the overall layout and design.</p><p>In contrast, the backend refers to the server-side of the application, where data is processed, stored, and managed. Together, frontend and backend components work together to deliver a fully functional and seamless user experience in software development.</p><p>Frontend development involves using various technologies to build the user interface and enhance the user experience. Here are some key technologies commonly used in frontend development:</p><ol><li><strong>HTML (HyperText Markup Language): </strong>HTML is the standard markup language used to create the structure of web pages. It defines the elements on a page such as headings, paragraphs, images, links, and more.</li><li><strong>CSS (Cascading Style Sheets):</strong> CSS is used to style and format the HTML elements. It controls the layout, appearance, and design of the web pages, ensuring a visually appealing presentation.</li><li><strong>JavaScript:</strong> JavaScript is a programming language that adds interactivity and dynamic behavior to web pages. It allows developers to create responsive and interactive features, such as form validation, animations, and real-time updates.</li><li><strong>Frontend Frameworks and Libraries:</strong> Frontend frameworks and libraries provide pre-written code and tools to simplify and speed up the development process. Examples include React.js, Angular, and Vue.js.</li><li><strong>Responsive Design: </strong>Technologies and techniques like media queries and flexible grid layouts are used to create responsive designs that adapt to different screen sizes and devices.</li><li><strong>Version Control Systems:</strong> Version control systems like Git help developers track changes in their codebase, collaborate with others, and manage different versions of the project.</li><li><strong>Package Managers: </strong>Package managers like npm (Node Package Manager) or Yarn are used to manage and install third-party libraries and dependencies.</li><li><strong>Build Tools:</strong> Build tools like Webpack or Gulp automate tasks such as code bundling, minification, and transpilation, improving the development workflow.</li><li><strong>Browser Developer Tools:</strong> Web browsers come with built-in developer tools that allow developers to inspect and debug their code, analyze network activity, and optimize performance.</li></ol><p>These technologies, among others, contribute to the creation of a responsive, visually appealing, and interactive user interface on the frontend of a website or web application.</p><h4>Back-End</h4><p>Backend refers to the behind-the-scenes part of a software application or website that is not directly visible to users. It handles server-side operations, such as database management, server configuration, and application logic. While users interact with the frontend, the backend processes data, executes commands, and ensures the overall functionality of the application.</p><p>Here are some key technologies commonly used in backend development:</p><p><strong>1.Server-Side Programming Languages:</strong></p><ul><li>Node.js (JavaScript): Used for developing fast and scalable applications using server-side JavaScript.</li><li>Python: A general-purpose language known for readability and a large community. Commonly used with frameworks like Django or Flask.</li><li>Ruby: Used in conjunction with the Ruby on Rails framework for efficient web application development.</li></ul><p><strong>2. Databases:</strong></p><ul><li>MySQL, PostgreSQL, MongoDB: Different types of databases used to store and retrieve data. MySQL and PostgreSQL are relational databases, while MongoDB is a NoSQL database.</li></ul><p><strong>3. Server Frameworks:</strong></p><ul><li>Express (Node.js): A minimal and flexible Node.js web application framework.</li><li>Django (Python): A high-level Python web framework that encourages rapid development and clean, pragmatic design.</li><li>Ruby on Rails (Ruby): A full-stack web application framework written in Ruby.</li></ul><p><strong>4. APIs (Application Programming Interfaces):</strong></p><ul><li>RESTful APIs: Follow a set of principles and conventions to provide a standard way of interacting with web services.</li><li>GraphQL: A query language for APIs that allows clients to request only the data they need.</li></ul><p><strong>5. Version Control Systems:</strong></p><ul><li>Git: Tracks changes in the codebase, facilitates collaboration, and helps manage different versions of the project.</li></ul><p><strong>6. Authentication and Authorization:</strong></p><ul><li>OAuth, JWT (JSON Web Tokens): Used for secure user authentication and authorization processes.</li></ul><p><strong>7. Web Servers:</strong></p><ul><li>Nginx, Apache: Web server software that handles requests from clients and communicates with the backend to serve web pages.</li></ul><p><strong>8. Containerization and Orchestration:</strong></p><ul><li>Docker, Kubernetes: Technologies that enable the packaging and deployment of applications in containers, providing scalability and efficiency.</li></ul><p>Backend development involves combining these technologies to create a robust, efficient, and secure server-side infrastructure for web applications.</p><blockquote>To put this in the simplest way; front-end refers to the design and development of the interface you interact with when you enter a website; The backend is behind the curtain floor area of ​​these web servers, everything is the server part and the names given for the purpose of developing the base software.</blockquote><h4>Authentication &amp; Authorization</h4><p>Authentication is the process of verifying the identity of a user or system. This is typically done using credentials such as a username and password, biometric data (fingerprint, retina scan, etc.), one-time codes, or other security information. The goal of authentication is to ensure that the entity trying to access a system or service is who they claim to be.</p><p>Authentication is widely used in various contexts, including:</p><ol><li><strong>User Login:</strong> When users log in to a computer, website, or application, they provide authentication credentials to verify their identity.</li><li><strong>Access Control:</strong> Authentication is essential for controlling access to secure areas or resources. It ensures that only authorized individuals or systems can access sensitive information or perform specific actions.</li><li><strong>Financial Transactions:</strong> Online banking, e-commerce, and other financial services use authentication to secure transactions and protect users’ financial data.</li><li><strong>Network Security:</strong> In computer networks, devices often authenticate themselves to gain access to the network or specific services.</li><li><strong>Mobile Devices:</strong> Smartphones and tablets use authentication methods such as PIN codes, fingerprints, or facial recognition to secure access to the device and its data.</li><li><strong>Workplace Security:</strong> Employees may need to authenticate themselves to access secure areas in the workplace or log in to company systems.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iOnW0PQs3bW8AqUH" /></figure><h4>Authorization :</h4><p>Authorization is the process of granting or denying access to specific resources or actions based on the authenticated identity. Once a user’s identity is confirmed through authentication, authorization determines the level of access or permissions they have within a system or application.</p><p>Authorization is crucial in various scenarios, including:</p><ol><li><strong>File and Data Access:</strong> Determining which users or groups have permission to access, modify, or delete specific files or data.</li><li><strong>System Privileges:</strong> Granting administrators or specific roles elevated privileges within a system to perform administrative tasks.</li><li><strong>Web Applications: </strong>Controlling what actions a user is allowed to perform within a web application, such as creating, editing, or deleting content.</li><li><strong>Network Services:</strong> Authorizing devices to access specific network services based on their credentials and permissions.</li><li><strong>API Access:</strong> In application programming interfaces (APIs), authorization ensures that only authorized applications or users can access and interact with the API’s functionalities.</li><li><strong>Database Access:</strong> Defining which users or applications can read, write, or modify data in a database.</li></ol><p>In summary, while authentication verifies identity, authorization determines what actions or resources an authenticated entity is allowed to access. Both are essential components of a robust security framework.</p><h4>What is Proxy? How Proxy Works?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8p5EGWo9xEWmN5j-.jpg" /></figure><p>A proxy is a tool that enables a computer or network device to act as the representative for the internet traffic of another device. It is commonly utilized to achieve goals such as concealing the user’s actual IP address, filtering content, or facilitating internet access from a specific geographical region. Utilizing a proxy involves directing internet traffic through an intermediary server before it reaches its intended destination.</p><p><strong>How Proxy Works?</strong></p><p>A proxy server acts as an intermediary between a user’s device and the internet. Its primary function is to facilitate requests and responses between the user and the internet, offering various benefits such as enhanced privacy, security, and content filtering. Here’s a simplified explanation of how a proxy works:</p><p>1.User Initiates Request:</p><ul><li>When a user requests access to a website or any online resource, their device sends a request to the proxy server instead of directly connecting to the target server.</li></ul><p>2.Proxy Receives Request:</p><ul><li>The proxy server intercepts the user’s request and evaluates it. It can inspect the request’s headers, IP address, and content.</li></ul><p>3.Forwarding Request to Target Server:</p><ul><li>After analyzing the request, the proxy forwards it to the target server (the website or resource the user wants to access).</li></ul><p>4.Target Server Responds:</p><ul><li>The target server processes the request and sends back a response to the proxy server.</li></ul><p>5.Proxy Processes Response:</p><ul><li>The proxy server receives the response from the target server. It can inspect and modify the response before sending it back to the user.</li></ul><p>6.User Receives Response:</p><ul><li>Finally, the proxy sends the modified or unmodified response back to the user’s device.</li></ul><p>Key Points:</p><ul><li>IP Address Masking: The user’s device communicates with the proxy using its IP address. This helps mask the user’s actual IP address from the target server, providing a degree of anonymity.</li><li>Content Filtering: Proxies can be configured to filter content based on various criteria. For example, they can block access to specific websites, restrict certain types of content, or enforce security policies.</li><li>Access Control: Proxies can be used to control access to the internet within a network. This is common in corporate environments where administrators want to monitor and control internet usage.</li><li>Caching: Proxies can cache frequently accessed content. If a user requests content that is already in the proxy’s cache, the proxy can serve it directly without fetching it from the target server. This can improve speed and reduce bandwidth usage.</li><li>Load Balancing: In some cases, proxies are used for load balancing to distribute incoming requests across multiple servers, optimizing resource utilization.</li></ul><p>Overall, a proxy server acts as an intermediary that handles communication between the user and the internet, providing various functionalities based on its configuration and purpose.</p><p>Simply, A proxy is like a middleman for internet connection. It helps hide your real identity, control what you access online, or access content from a specific location. It works by routing your internet traffic through another server before it reaches its final destination.</p><p>I hope it will be useful for you🙏🏻 You can find my social media accounts below to express your opinions. Hope to see you in the next topic :)</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0874f4f389cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC TASK 4: What is 3 Way Handshake, HTTP, Most Used HTTP Headers and How it Works?]]></title>
            <link>https://betulsenabirinci.medium.com/uniquesec-task-4-what-is-3-way-handshake-http-most-used-http-headers-and-how-it-works-638db300b806?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/638db300b806</guid>
            <category><![CDATA[http-response]]></category>
            <category><![CDATA[tcp]]></category>
            <category><![CDATA[three-way-handshake]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[wireshark]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 11:27:30 GMT</pubDate>
            <atom:updated>2024-01-02T11:27:30.436Z</atom:updated>
            <content:encoded><![CDATA[<h3>UNIQUESEC TASK 4: What is 3 Way Handshake, HTTP, Most Used HTTP Headers and How it Works? How to Capture a Sample HTTP Traffic with Wireshark and View Content ?</h3><p>Hello everyone, hope you are well ☺️ Today we’re gonna talk about basic Web Security component. We have 4 main topics and I want to explain it to you clearly as I can. Let’ start✍🏻</p><h4>1- What is TCP 3 Way Handshake? How it works?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C44l9t8YpMi57m29" /></figure><p>We can start with the explain the TCP. Tcp means Transmission Control Protocol is, one of the main protocol in the Internet Protocol(IP). TCP is exist in transport layer. TCP helps us with separating packages and prevent the data loss before communicating between computers.</p><p>3 Way Handshake 🤝 is a process which used by TCP. This process used when establishing and terminating a connection.</p><p>These are the steps:</p><p><strong>1.Client &gt; Server :</strong><br>In the first step, the client sends a connection request to the server. This request contains a TCP packet marked with the “SYN” (synchronize) flag. The client sends this packet to the server and indicates that it wants to establish a connection over a specific communication port.<br><strong>2. Server &gt; Client:</strong><br>The server receives and accepts the client’s connection request. In addition, the server determines its own starting sequence number and sends a “SYN-ACK” (synchronize-acknowledge) packet to the client to establish a connection through the communication port it wants to communicate with. This packet is marked with the “SYN” flag and also contains the starting index number of the server.<br><strong>3.Client &gt; Server:</strong><br>The client receives the server’s “SYN-ACK” packet. At this stage, the client also determines its starting directory number, sets the communication port as the specified communication port, and sends an “ACK” (acknowledge) packet to the server for verification purposes. This packet is marked with the “ACK” flag and completes the communication process.</p><p>Here is the basic visualization</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*QGINC3hBv50P7hUW.jpg" /><figcaption>3 Way Handshake</figcaption></figure><p>We can make this even simpler like this. For example, I want to communicate with my friend and I send a message and ask, are you available? If you are available, I would like to contact you. Let’s think of this as a <strong>syn</strong> package and he sends me the following message: Yes, I am available, we can contact. Let’s think of this as a <strong>syn-ack</strong> package. Then, I make sure that he is available and thank him for agreeing to communicate. We can think of this as an <strong>ack</strong> package.</p><p>This three-step process verifies that both the client and server know each other and are ready to communicate.</p><h4><strong>2. What is HTTP? How it works?</strong></h4><p>HTTP, or Hypertext Transfer Protocol, is an application layer protocol used for transmitting and receiving information on the World Wide Web. HTTP determines the rules for data exchange between the user’s computer and the server. A browser is used to use this protocol.</p><p>Here are some HTTP Methods.</p><ol><li>GET: Retrieve data from the specified resource.</li><li>POST: Submit data to be processed to a specified resource.</li><li>PUT: Update a resource or create a new resource if it doesn’t exist.</li><li>DELETE: Delete the specified resource</li><li>PATCH: Apply partial modifications to a resource.</li><li>HEAD: Retrieve only the headers of the specified resource without the body.</li><li>OPTIONS: Get information about the communication options available on the specified resource.</li><li>TRACE: Perform a message loop-back test along the path to the target resource.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AT0OpHn1hR6eVWoz.jpg" /><figcaption><a href="https://www.testkarts.com/blog/post/http-requests-and-methods">https://www.testkarts.com/blog/post/http-requests-and-methods</a></figcaption></figure><ol><li>Client Requests: A client, such as a web browser, generates an HTTP request that represents a user-initiated action. This request typically targets a resource identified by a URI (Uniform Resource Identifier) or URL (Uniform Resource Locator). For example, when you want to view a web page, the browser sends an HTTP GET request targeting the URL of that page.</li><li>Server Responses: The request sent by the client reaches the specified server. The server understands the request, performs necessary operations, and responds with an HTTP response. The response includes whether the server’s operation was successful, necessary data, and a set of headers providing additional information.</li><li>Connection Establishment and Termination: Communication between the client and server often occurs over a connection, typically using the TCP (Transmission Control Protocol). Rather than establishing and terminating a connection for each request and response, multiple requests and responses can be processed over the same connection, reducing connection setup and teardown overhead.</li><li>Connection Opening and Closing: Communication between the client and server is often done over a connection, usually using the TCP (Transmission Control Protocol). Instead of establishing and terminating a connection for each request and response, multiple exchanges can occur over the same connection, minimizing setup and teardown overhead.</li><li>Request and Response Formats: HTTP requests and responses adhere to a specific format. They typically consist of header and body sections. The header section specifies various properties of the request or response (e.g., content type, length), while the body section contains the transmitted data.</li><li>Connection Termination: The connection between the client and server can be terminated when the operation is completed or an error occurs. In HTTP 1.1, the “Connection: keep-alive” header is often used to keep the connection open, allowing multiple requests and responses over the same connection.</li><li>Security (HTTPS): The secure version of HTTP, known as HTTPS (Hypertext Transfer Protocol Secure), ensures encrypted data transmission. This protects the communication between users and websites, preventing third-party interference.</li></ol><p>3. Most Used HTTP Request and Response Headers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*htU1RIzJ9aufpZvO.jpg" /></figure><h3>Request Headers:</h3><blockquote>Host: Identifies the domain name of the server.</blockquote><blockquote>User-Agent: Provides information about the user agent (web browser or other client) making the request.</blockquote><blockquote>Accept: Specifies the types of media that the client can process.</blockquote><blockquote>Accept-Language: Indicates the preferred natural language of the user.</blockquote><blockquote>Accept-Encoding: Lists the encoding methods the client can handle.</blockquote><blockquote>Connection: Defines whether the connection should be kept alive or closed.</blockquote><blockquote>Referer: Contains the address of the previous web page from which a link to the currently requested page was followed.</blockquote><blockquote>Cookie: Sends previously stored cookies to the server.</blockquote><blockquote>Authorization: Contains credentials for authenticating the client with the server.</blockquote><h3>Response Headers:</h3><blockquote>Date: Indicates the date and time when the response was generated.</blockquote><blockquote>Server: Specifies information about the software used by the origin server.</blockquote><blockquote>Content-Type: Defines the media type of the resource being sent.</blockquote><blockquote>Content-Length: Specifies the size of the response body in octets (8-bit bytes).</blockquote><blockquote>Content-Encoding: Indicates any encoding transformations that have been applied to the resource.</blockquote><blockquote>Cache-Control: Directives for caching mechanisms in both requests and responses.</blockquote><blockquote>Expires: Gives the date/time after which the response is considered stale.</blockquote><blockquote>Last-Modified: Indicates the date and time at which the origin server believes the resource was last modified.</blockquote><blockquote>Set-Cookie: Sends cookies from the server to the client.</blockquote><p>Let’s continue with Wireshark. First of all what is Wireshark?</p><p>🦈 Wireshark is a software tool used to analyze data packets transmitted over computer networks. In simple terms, it allows you to observe network traffic and examine the content of these packets. Wireshark helps users understand the details of transmitted data, making it useful for tasks such as identifying network issues, investigating security vulnerabilities, or comprehending communication on a network.</p><p>💻 For example, Wireshark can reveal details about the data sent when a computer accesses a website on the internet, such as what data is being sent, which server is being communicated with, or how devices on a network interact with each other.</p><p>As an open-source project with a broad user base, Wireshark is supported by a diverse community. It is available on various operating systems and is utilized in different fields, including network analysis, security audits, and monitoring network performance.</p><p>I want to show you this example on <a href="http://testphp.vulnweb.com/">this</a> site. You can use for web app security practises.</p><p>First of all we need to know this site IP adress’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nHuxDl8hHWNxYfhCQJtT_A.png" /></figure><p>Ok, I know now, after this open wireshark and start capturing packages. You can choose this Wi-Fi filter. This is our wireless network area. I will work on this network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D5k69YD7QQbKeOnhaMJQuA.png" /></figure><p>After opening the wireshark, go to <a href="http://testphp.vulnweb.com/">this</a> link. You can do whatever you want. I’ll search any text and want to find this.</p><p>In the beginning, we have to do IP adress filtering to see the outputs clearly. This outputs is just for testphp.vulnweb.com address.</p><pre>ip.src==IP_Address</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMCIllq7EnUbF8df0YLxTg.png" /></figure><p>Go back to site and search any text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z0Dlkcg8Zw8S4uzg7To1jg.png" /></figure><p>Now, I’m looking for my input. It is a text format with http protocol. This will be useful for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L3ZLcnq8zRv5KBsMFIrgQA.png" /></figure><p>As you can see, line 36 above contains my input. Of course, wireshark is not just about this, you can make much more detailed analysis and determinations. I tried to explain and explain it in a basic way in this article.</p><p>I hope it will be useful for you🙏🏻 You can find my social media accounts below to express your opinions. Hope to see you in the next topic :)</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=638db300b806" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC TASK 3: Nessus Installation Guide: Metasploitable 2 Scanning, Telnet Exploits…]]></title>
            <link>https://medium.com/kurumsal-gelisim/uniquesec-task-3-nessus-installation-guide-metasploitable-2-scanning-telnet-exploits-0c404adcf237?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c404adcf237</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[nessus-essentials]]></category>
            <category><![CDATA[metasploitable2]]></category>
            <category><![CDATA[scanning]]></category>
            <category><![CDATA[telnet-command]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Tue, 26 Dec 2023 17:20:41 GMT</pubDate>
            <atom:updated>2025-01-31T13:53:04.670Z</atom:updated>
            <content:encoded><![CDATA[<h3>UNIQUESEC TASK 3: Nessus Installation Guide: Metasploitable 2 Scanning, Telnet Exploits, Identifying Vulnerabilities, and Closing Security Weaknesses</h3><p>Hello everyone☺️ today we’re gonna talk about Nessus, nessus’s scan for metasploitable2, the vulnerability and cause of the vulnerability. In the end, closing the telnet port which is 23.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*DNqEv9Ddhe93ZnzJ99nlgQ.png" /></figure><p><strong>💻What is Nessus?</strong></p><p>Nessus is a security scanner commonly used to detect and analyze security vulnerabilities in networks. This scanning process aims to identify potential security risks in computer systems and networks. Nessus assists organizations in assessing their cybersecurity, detecting security vulnerabilities, and facilitating remediation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*gfnGc8Rk2hUwI4ePDQUBNQ.png" /></figure><p>Go to this <a href="https://www.tenable.com/downloads/nessus?loginAttempted=true">link</a> and select this requirements. After finishing the installation, open your terminal and check the Downloads.</p><p>🥷🏻 We used in Linux this command, particularly on Debian-based systems, for package management tasks. Here’s an explanation of each part:</p><ol><li><em>sudo:</em> This is used to execute a command with elevated privileges, typically as the root (superuser). It allows you to perform certain operations with administrative rights.</li><li><em>dpkg: </em>This is a package management tool on Debian-based systems. It handles tasks such as installing, removing, and configuring packages.</li><li><em>-i:</em> This option instructs dpkg to install a package. The “-i” option puts dpkg in install mode.</li></ol><pre>sudo dpkg -i (Package_Name.deb)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*Ep6gH3p4XKcQQL5msc_BWQ.png" /></figure><p>We use first command for check whether te service has started or not. Started the nessusd and check if it is activated. As you can see system is running, I can see status active and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*8CzETenEeLuP4v8H0LVV4A.jpeg" /></figure><p>In the end of the output, you can see this orientation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*Zwi_h5DCeIEkiPA4A57B5Q.png" /></figure><p>Now go to your browser and check. Please select these buttons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6V4y7g0Ke15b09Zsogq40g.png" /></figure><p>When you open the nessus home page, don’t do anything and go to this <a href="https://www.tenable.com/products/nessus/nessus-expert/evaluate">link.</a> Complete the form for register for an activation code. Click the get started and after this you will take an email for the code.</p><p>! You don’t have to give a real personal information. Just complete the area with fake data. For example, you can use <a href="https://temp-mail.org/">temp mail.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*7fum2KmboDCQ1UiGs6vFcA.png" /></figure><p>Go back to your nessus home page and click continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*VXTjqTUUB5Fac0GB1LeGvQ.png" /></figure><p>We took the code so, we can select the Register for Nessus Essentials and continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*jLeqnLfYx-3AYI957c41zw.png" /></figure><p>We already took the code, we don’t need to do this step, please skip.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*bIxWgkRtPIiINehIz8BhXw.png" /></figure><p>Fill the blank with your code and continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*x-elpbizDl6hBWxgFCoy3w.png" /></figure><p>After that, set your credentials for nessus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*FKO_nM-mNDe1_P4k8u3m_g.png" /></figure><p>And now, started to download plugins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*aNmDNGWWS9ZnSbqq6kEDfg.png" /></figure><p>🪄 Yesss, we’ve done. Please wait for all plugins to be installed for the new scan to take effect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6iatl9TsmigFAGPD6u2fpw.png" /></figure><p>All plugins completed. Today, I’m gonna scan for the Metasploitable 2 machine. Select the advanced scan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*JQBRKFlqLOiW6hEIcnYTrw.png" /></figure><p>I want to do scan with the credentials. I know this data for metasploitable 2 machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*YIA_nzcKInujNfKMFV_v-Q.png" /></figure><p>After saving the credentials🔐 don’t forget to set target specifies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*dnPDgsfQxab_bqfh03M83A.png" /></figure><p>Now, scan is starting and I have to wait.(My scan took 20 hour) Attention this icon to turn ▶️ this then the scan is complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kwZXe-mZBsMVB-q33PRUyQ.png" /></figure><p>Or you can understand the scan details. As you can see, status is completed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*yZRwRFUZjHWcypY2zq5ssw.png" /></figure><p>I chose this vulnerability to penetration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*9RIGWht3_QP3l-P0-67yfA.png" /></figure><p>I wanted to be sure exist the vulnerability or not in linux. For this, nmap will be helpful to scan ports.</p><pre>nmap -sV (Target_IP_ADDRESS)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*mrtGzGMkRLJ84OKl-adT3Q.png" /></figure><p>Yes, ı saw the telnet service is open in 23th port. I can access the metasploitable machine with this command.</p><pre>telnet (Target_IP_ADDRESS) 23</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*Uozlr-E1u4V8yNQPU2kRMg.png" /></figure><p>We are not root user. We are admin but not root, so we can manually do this .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*xcB4Z4pnGOmISmvb9Z2D5w.png" /></figure><p>There are lot of techniques and methods to the privileges. I think this is best way to checkout:</p><pre>sudo -l</pre><p>I can see (ALL) ALL. This means I can run all command so, let’s try to debate room . I want to see the /etc/passwd directory. In below, we are root user and we saw the outputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*9rfYJF0H60dLeZXyagOfiQ.png" /></figure><p>We can check the all list. The ls -la command is used in Linux or Unix-based operating systems. This command lists files and directories in the current directory. Here&#39;s the basic usage of the ls -la command:</p><ul><li>ls: List command.</li><li>-l: Detailed listing mode.</li><li>-a: Show hidden files.</li></ul><p>By using this command, you can list all files and directories in a detailed manner, including information such as file permissions, owner, group, file size, modification date, and the name of the file or directory.</p><p>I want to change permissions for .profile file.</p><pre>chmod +x .profile</pre><ul><li>chmod: Stands for &quot;change mode,&quot; a command used to change the permissions of files or directories.</li><li>+x: Adds the execute permission to the file.</li><li>.profile: The name of the file whose permissions are being modified.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*JwGRC1ny4NEDYRcKBPdrIQ.png" /></figure><p>Yes, I saw the permissions have been changed in the end of the page.</p><p>The sudo iptables -L command is used to list the rules of the iptables firewall on a Linux system. The iptables command is a powerful tool for configuring the Linux kernel firewall, which controls network traffic on the system.</p><pre>sudo iptables -L</pre><ul><li>sudo: Executes the following command with elevated privileges. You might need superuser (root) permissions to view or modify firewall rules.</li><li>iptables: The command for managing the Linux kernel packet filtering rules.</li><li>-L: Lists the rules. Without any additional options, it shows the current ruleset for the specified table (usually the filter table, which is the default).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*2wVHS8mbNrsbLWh5sRP1Vg.png" /><figcaption>KK</figcaption></figure><p>Now, I want to close this port usage. If ı close the port then I can’t access for penetration.</p><pre>sudo iptables -A INPUT -p tcp --dport 23 -j DROP</pre><ul><li>sudo: Executes the following command with elevated privileges.</li><li>iptables: The command for managing the Linux kernel packet filtering rules.</li><li>-A INPUT: Appends a rule to the INPUT chain.</li><li>-p tcp: Specifies the protocol as TCP.</li><li>--dport 23: Specifies the destination port as 23.</li><li>-j DROP: Instructs iptables to drop (discard) the packets matching the specified criteria.</li></ul><p>This rule effectively blocks incoming connections to port 23, which is the default port for the Telnet service. Telnet is an insecure protocol, and blocking access to its port enhances security. If you have a specific use case for blocking Telnet, this rule would accomplish that.</p><p>After closing the port 23, don’t forget to save iptables status.</p><pre>sudo iptables-save</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*W1i7itV7NsesvUNyEnlahA.png" /></figure><p>Double check will be better. In below as you can see, the telnet service is in 23 port had been filtered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*bNZC8Gmnv4vnUCOPzusMzQ.png" /></figure><p>Last check with using telnet command. I confirmed that we cannot access MS2 from Kali, that is, I cannot access it because I have disabled the port, and thus we have taken a simple precaution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*hNcZtLDYjS-IKTdGrGFR9g.png" /></figure><p>As a result, we installed Nessus, advanced scan with credentials for MS2, then accessed the system with telnet and then increased authorization. As a precaution, we recently disabled telnet port 23.</p><p>I hope it will be useful for you🙏🏻 You can find my social media accounts below to express your opinions. Hope to see you in the next topic :)</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c404adcf237" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/uniquesec-task-3-nessus-installation-guide-metasploitable-2-scanning-telnet-exploits-0c404adcf237">UNIQUESEC TASK 3: Nessus Installation Guide: Metasploitable 2 Scanning, Telnet Exploits…</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC TASK 2: How do we detect external port scanning to the system with TCPDump?]]></title>
            <link>https://medium.com/kurumsal-gelisim/uniquesec-task-2-how-do-we-detect-external-port-scanning-to-the-system-with-tcpdump-8506a9913087?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8506a9913087</guid>
            <category><![CDATA[tcpdump]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[metasploitable]]></category>
            <category><![CDATA[scanning]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 13:34:22 GMT</pubDate>
            <atom:updated>2023-12-18T16:54:41.678Z</atom:updated>
            <content:encoded><![CDATA[<h3>UNIQUESEC TASK 2: How do we detect external port scanning to the system with TCPDump? How do we detect the IP address doing the scan?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*udPwHdZ8cpY9uYVkgUI-KA.png" /><figcaption>TCPDump</figcaption></figure><p>Hello guys, today we are gonna learn how do we detect external port scanning to the system with TCPDump? Once we find that there is a scan, how do we detect the IP address doing the scan?</p><p>We will be doing this on Metasploitable 2 machine. Ok but what is metasploitable?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0yIGlBeNRcsO7IGRCy_T5Q.png" /><figcaption>Metasploitable</figcaption></figure><p>Metasploitable is a vulnerable machine that enables the learning and practice of Metasploit. You may think it is illegal to hack any system without owner’s permission but this processes aren’t illegal cause we will doing this to our vulnerable machine. So, all processes are not in any other network or any other systems.</p><p>First of all we have to start with download metasploitable 2.</p><p>Go to this <a href="https://information.rapid7.com/download-metasploitable-2017.html/">link </a>and please complete the requirement area and then submit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*HPoyPhHaw55ZQdbYKy5iUw.png" /></figure><p>There is many documentation of install metasploitable for example <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=video&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiW9KnGvJeDAxVRT6QEHS3sBVcQtwJ6BAgPEAI&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dyf3jetn4tN8&amp;usg=AOvVaw2aa2qzunVDNh8bEcINoUGD&amp;opi=89978449">this one</a> but I’ll revise this assignment another time and I will write the documentation about that.</p><p>After the installation, open metasploitable and Kali Linux (or any virtual machine which you use).</p><p>Let’s set the network settings to bridge for two machine but why we use bridge?</p><blockquote>A bridge connection is a network connection that allows several devices to communicate with each other as if they were on the same physical network, even if they are connected to separate networks.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*dzZ7waxredm_wltu8Nm0kA.png" /><figcaption>Kali Network Settings</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*OnYHBerX0OY0nvldYXREIw.png" /><figcaption>Metasploitable 2 Network Settings</figcaption></figure><p>We need to be sure this two machine under the same physical network. We clarify this issue with ifconfig command. Ifconfig means interface configuration. It helps to understand network interface configuration structures.</p><pre>ifconfig</pre><p>This one is for metasploitable. We can see the inet addr: 192.168.1.107</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*zOo0eCqfR8sMqa8lApnCig.png" /></figure><p>We saw metasploitable’s address. Let’s check the kali’s address.</p><p>We can say this two machine under the same subnet with different IP addresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*WeeS_aDYWxQIKEIw0iy3yQ.png" /></figure><p>Yes, we saw the inet address and there are different.</p><p>Now let’s check whether the machines are on a suitable ground for communication with the ping command.</p><pre>ping (IP_ADDRESS) #write your target address in the IP address section</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*J6VX39SoxnaMKQF4c4hOEA.png" /><figcaption>From Metasploitable 2 to Kali</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*7NPHK8gXr34_T1JP43rOLw.png" /><figcaption>From Kali to Metasploitable 2</figcaption></figure><p>Yes, we know the machines will communicable.</p><p>Let’s go back to metasploitable machine.</p><pre>sudo tcpdump -D </pre><p>The command is used to display the list of available network interfaces on your system that can be used with tcpdump.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGhjHLEexfEWQLBQjpqqWg.png" /></figure><p>So, we want to know more information about the metasploitable.</p><p><em>Nmap: Network Mapper</em></p><p>For example, nmap is network scanning tool and shows us which port is open, what is the system version, name, etc.</p><pre>sudo nmap -A -sV (IP_ADDRESS) #sudo for the root</pre><p>This is my output. I want to show you this throughput with screenshot but too long. So, I decided to add text.</p><pre>└─$ sudo nmap -A -sV 192.168.1.107<br>Starting Nmap 7.94 ( https://nmap.org ) at 2023-12-17 22:56 +03<br>Nmap scan report for 192.168.1.107<br>Host is up (0.00072s latency).<br>Not shown: 977 closed tcp ports (reset)<br>Bug in rpcinfo: no string output.<br>PORT     STATE SERVICE     VERSION<br>21/tcp   open  ftp         vsftpd 2.3.4<br>|_ftp-anon: Anonymous FTP login allowed (FTP code 230)<br>| ftp-syst: <br>|   STAT: <br>| FTP server status:<br>|      Connected to 192.168.1.175<br>|      Logged in as ftp<br>|      TYPE: ASCII<br>|      No session bandwidth limit<br>|      Session timeout in seconds is 300<br>|      Control connection is plain text<br>|      Data connections will be plain text<br>|      vsFTPd 2.3.4 - secure, fast, stable<br>|_End of status<br>22/tcp   open  ssh         OpenSSH 4.7p1 Debian 8ubuntu1 (protocol 2.0)<br>| ssh-hostkey: <br>|   1024 60:0f:cf:e1:c0:5f:6a:74:d6:90:24:fa:c4:d5:6c:cd (DSA)<br>|_  2048 56:56:24:0f:21:1d:de:a7:2b:ae:61:b1:24:3d:e8:f3 (RSA)<br>23/tcp   open  telnet      Linux telnetd<br>25/tcp   open  smtp        Postfix smtpd<br>| sslv2: <br>|   SSLv2 supported<br>|   ciphers: <br>|     SSL2_DES_192_EDE3_CBC_WITH_MD5<br>|     SSL2_RC2_128_CBC_EXPORT40_WITH_MD5<br>|     SSL2_RC4_128_EXPORT40_WITH_MD5<br>|     SSL2_DES_64_CBC_WITH_MD5<br>|     SSL2_RC4_128_WITH_MD5<br>|_    SSL2_RC2_128_CBC_WITH_MD5<br>| ssl-cert: Subject: commonName=ubuntu804-base.localdomain/organizationName=OCOSA/stateOrProvinceName=There is no such thing outside US/countryName=XX<br>| Not valid before: 2010-03-17T14:07:45<br>|_Not valid after:  2010-04-16T14:07:45<br>|_smtp-commands: metasploitable.localdomain, PIPELINING, SIZE 10240000, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN<br>|_ssl-date: 2023-12-17T19:57:05+00:00; +2s from scanner time.<br>53/tcp   open  domain      ISC BIND 9.4.2<br>| dns-nsid: <br>|_  bind.version: 9.4.2<br>80/tcp   open  http        Apache httpd 2.2.8 ((Ubuntu) DAV/2)<br>|_http-title: Metasploitable2 - Linux<br>|_http-server-header: Apache/2.2.8 (Ubuntu) DAV/2<br>111/tcp  open  rpcbind     2 (RPC #100000)<br>139/tcp  open  netbios-ssn Samba smbd 3.X - 4.X (workgroup: WORKGROUP)<br>445/tcp  open             Samba smbd 3.0.20-Debian (workgroup: WORKGROUP)<br>512/tcp  open  exec        netkit-rsh rexecd<br>513/tcp  open  login       OpenBSD or Solaris rlogind<br>514/tcp  open  tcpwrapped<br>1099/tcp open  java-rmi    GNU Classpath grmiregistry<br>1524/tcp open  bindshell   Metasploitable root shell<br>2049/tcp open  nfs         2-4 (RPC #100003)<br>2121/tcp open  ftp         ProFTPD 1.3.1<br>3306/tcp open  mysql       MySQL 5.0.51a-3ubuntu5<br>| mysql-info: <br>|   Protocol: 10<br>|   Version: 5.0.51a-3ubuntu5<br>|   Thread ID: 17<br>|   Capabilities flags: 43564<br>|   Some Capabilities: Support41Auth, ConnectWithDatabase, Speaks41ProtocolNew, SupportsTransactions, SupportsCompression, SwitchToSSLAfterHandshake, LongColumnFlag<br>|   Status: Autocommit<br>|_  Salt: i0R/0B&lt;F*@AdXh%yU{.m<br>5432/tcp open  postgresql  PostgreSQL DB 8.3.0 - 8.3.7<br>| ssl-cert: Subject: commonName=ubuntu804-base.localdomain/organizationName=OCOSA/stateOrProvinceName=There is no such thing outside US/countryName=XX<br>| Not valid before: 2010-03-17T14:07:45<br>|_Not valid after:  2010-04-16T14:07:45<br>|_ssl-date: 2023-12-17T19:57:05+00:00; +2s from scanner time.<br>5900/tcp open  vnc         VNC (protocol 3.3)<br>| vnc-info: <br>|   Protocol version: 3.3<br>|   Security types: <br>|_    VNC Authentication (2)<br>6000/tcp open  X11         (access denied)<br>6667/tcp open  irc         UnrealIRCd<br>8009/tcp open  ajp13       Apache Jserv (Protocol v1.3)<br>|_ajp-methods: Failed to get a valid response for the OPTION request<br>8180/tcp open  http        Apache Tomcat/Coyote JSP engine 1.1<br>|_http-server-header: Apache-Coyote/1.1<br>|_http-favicon: Apache Tomcat<br>|_http-title: Apache Tomcat/5.5<br>MAC Address: 08:00:27:B4:9D:A0 (Oracle VirtualBox virtual NIC)<br>Device type: general purpose<br>Running: Linux 2.6.X<br>OS CPE: cpe:/o:linux:linux_kernel:2.6<br>OS details: Linux 2.6.9 - 2.6.33<br>Network Distance: 1 hop<br>Service Info: Hosts:  metasploitable.localdomain, irc.Metasploitable.LAN; OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel<br><br>Host script results:<br>|_nbstat: NetBIOS name: METASPLOITABLE, NetBIOS user: &lt;unknown&gt;, NetBIOS MAC: &lt;unknown&gt; (unknown)<br>| smb-os-discovery: <br>|   OS: Unix (Samba 3.0.20-Debian)<br>|   Computer name: metasploitable<br>|   NetBIOS computer name: <br>|   Domain name: localdomain<br>|   FQDN: metasploitable.localdomain<br>|_  System time: 2023-12-17T14:56:57-05:00<br>|_clock-skew: mean: 1h15m02s, deviation: 2h30m00s, median: 1s<br>| smb-security-mode: <br>|   account_used: &lt;blank&gt;<br>|   authentication_level: user<br>|   challenge_response: supported<br>|_  message_signing: disabled (dangerous, but default)<br>|_smb2-time: Protocol negotiation failed (SMB2)<br><br>TRACEROUTE<br>HOP RTT     ADDRESS<br>1   0.73 ms 192.168.1.107<br><br>OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .<br>Nmap done: 1 IP address (1 host up) scanned in 23.35 seconds</pre><p>We can say this, many ports are open in the metasploitable 2 machine.</p><blockquote>-A: A means aggressive. Enables OS detection, version detection, script scanning, traceroute and among other things.</blockquote><p>Other common parameters for nmap.</p><blockquote>Version Detection (-sV): Nmap tries to determine the version of services running on open ports.</blockquote><blockquote>OS Detection (-O): Nmap attempts to identify the operating system running on the target.</blockquote><blockquote>Script Scanning ( — script): Nmap runs a set of NSE (Nmap Scripting Engine) scripts against the target. These scripts can provide additional information about the target’s services and vulnerabilities.</blockquote><blockquote>Traceroute ( — traceroute): Nmap will perform a traceroute to the target, showing the path packets take to reach the destination.</blockquote><p>Here is the cheat sheet. Nmap use for many operations in network information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FwIv4bjCcO3kaqQ2mWyujg.jpeg" /><figcaption><a href="https://www.comparitech.com/net-admin/nmap-nessus-cheat-sheet/">https://www.comparitech.com/net-admin/nmap-nessus-cheat-sheet/</a></figcaption></figure><p>Currently, we did the network scanning and we want to show this scan how looks. Use this command for listen the network.</p><pre>sudo tcpdump -i eth0 -v</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ke7kLYc_Er3ILbfxkYaB0w.png" /><figcaption>start the listen</figcaption></figure><p>Some details we can use to understand that there is port scanning in TCPDump outputs:</p><blockquote>1-Repeated or Increased Number of Packages<br>2-Packages for Specific Ports<br>3-Packages for Non-Sequential Ports<br>4-Quick Reactions and Short Term Communication<br>5-Requests to Different Ports from a Specific IP Address</blockquote><p>As we understand from the outputs here, we can view the IP address of the source machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v0_zgmLAHK00CgiIbmgORA.png" /></figure><p>Kali’s IP address:192.168.1.175</p><p>Metasploitable’s IP address : 192.168.1.107</p><p>In this picture we view incoming and outgoing TCP-UDP packets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1dVGGRuffA_UQyPD-Bl7jw.png" /></figure><p>Above, there is ack packages. This means Three-way handshake is ongoing.</p><p>I will write an article about the Three Way Handshake in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ooGCUdFFMUrdETb4jF57w.png" /></figure><p>Thus, we have come to the end of the article. We had general information about the use of TCPDump and tested it. Of course, it is not limited to this, but it is not possible to convey all the details in one article.</p><p>I hope it will be useful for you. You can find my social media accounts below to express your opinions. Hope to see you in the next topic :)</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8506a9913087" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/uniquesec-task-2-how-do-we-detect-external-port-scanning-to-the-system-with-tcpdump-8506a9913087">UNIQUESEC TASK 2: How do we detect external port scanning to the system with TCPDump?</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC TASK 1.2: What is Cronjob? How to access Crontab and trigger the process?]]></title>
            <link>https://medium.com/kurumsal-gelisim/uniquesec-task-1-2-what-is-cronjob-how-to-access-crontab-and-trigger-the-process-da183f9def1c?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/da183f9def1c</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cronjob-scheduler]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[crontab]]></category>
            <category><![CDATA[cronjob]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Mon, 04 Dec 2023 10:57:56 GMT</pubDate>
            <atom:updated>2025-01-31T13:52:29.606Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, today we’re gonna talk about <strong>cronjob</strong> and <strong>crontab</strong> process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-uN-H1STJHWF0uHw.png" /></figure><p><strong>What is Cronjob?</strong></p><p>Cronjob is scheduled task on Unix-like operating system. Actually aim is schedule your any task and run automatically. It helps automatize your routine task on yearly, monthly, daily whenever you want to.</p><blockquote><em>Cron means time, comes from Greek word ‘Chronos’</em></blockquote><p><strong>How to access Crontab and trigger the process?</strong></p><p>Crontab is a command line benefit. We use crontab for the create, delete, edit, view. Stored in known as cronjob.</p><p>Let’s take a little look. In below, you can see how can we reach the crontabs. If you don’t see this directories or can&#39;t reach, it may be in this directory <em>cat /etc/crontab</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WyR2a6Xj_kSgSNYfcqwOPg.png" /></figure><p>Here is the another presentation of crontab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xoVU5VbBAjm_dUprafjDLw.png" /><figcaption>Access the crontabs</figcaption></figure><p>We can keep going with the common command.</p><p>Edit or create your own crontabs with this command.</p><pre>crontab -e</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VSmhbR56-xX_YXyM89HEzw.png" /></figure><p>Here is the options. I choose the easiest one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YXjzYDWsiqOCRV6Si3Sd3w.png" /></figure><p>I just want to explain this abbreviations. Here is the explanation.</p><blockquote>m:minute(0–59)</blockquote><blockquote>h:hour(0–23)</blockquote><blockquote>dom: day of month(1–31)</blockquote><blockquote>mon: month(0–12) or jan, feb, mar…</blockquote><blockquote>dow: day of week(0–6) attention here sunday as a 0!</blockquote><p>If you can use * icon, this means ‘any’ time, day, week…</p><p>We can look another common commands with this line.</p><p>This command provides users with help documentation to understand and use the crontab command effectively for scheduling tasks.</p><pre>crontab -h<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UV0efOtXmD_4dgvhKNOcQg.png" /></figure><p>We can start a job at a not specific time. I want to create a file as a test.txt and want to save this file in uniquesec file and see the output as a ‘hello uniquesec’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2WN9clOG1GOB4T_FlQvKig.png" /></figure><p>Now, I’m going to my directory which is /home/kali/Desktop/uniquesec</p><p>Cause I wanted save the file here. After the chancing directory, use <strong>ls </strong>command for the list. Yes! there is a test.txt file generated by the crontab.</p><p>We can use the <strong>cat</strong> command to read txt files contents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K0iTDNnW-9Rbb3DRl4tPlw.png" /></figure><p>Let’s make another example. This one will be at a specific time. Today is 4th December at 12:43. I just want to print ‘time to meal’ at 12:45 by crontab.</p><p>I set the requirements. After that to save <strong>control + O</strong> and to exit <strong>control + X</strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-F5KC8guw47jZGORUcblA.png" /></figure><p>I checked the time with <strong>date</strong> command. I waited for the time which is specify in above. When time is up, use list command which is <strong>ls</strong>. We can see <strong>time.txt</strong> generated by crontab and reading the txt file we use <strong>cat </strong>command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xnqx4ytvB1Y9feDqqdqhEg.png" /></figure><p>We can increase examples like this. I just wanted to introduce the system and explain it with two applicable examples. I hope it will be useful for you. You can find my social media accounts below to express your opinions.</p><p>Here is my accounts,</p><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/in/betulsenabirinci/"><em>https://www.linkedin.com/in/betulsenabirinci/</em></a></blockquote><blockquote><em>Github: </em><a href="https://github.com/betulsenabirinci"><em>https://github.com/betulsenabirinci</em></a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote><em>Website: </em><a href="https://uniquesec.org/"><em>https://uniquesec.org/</em></a></blockquote><blockquote><em>Linkedin: </em><a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D"><em>https://www.linkedin.com/company/uniquesec</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da183f9def1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/uniquesec-task-1-2-what-is-cronjob-how-to-access-crontab-and-trigger-the-process-da183f9def1c">UNIQUESEC TASK 1.2: What is Cronjob? How to access Crontab and trigger the process?</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UNIQUESEC Task 1.1: Installing Kali Linux On Mac M1 Using VMware Fusion 2023]]></title>
            <link>https://medium.com/kurumsal-gelisim/uniquesec-task-1-1-installing-kali-linux-on-mac-m1-using-vmware-fusion-2023-170dafa8c3ef?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/170dafa8c3ef</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[m1-macbook-pro]]></category>
            <category><![CDATA[macbook]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 21:33:47 GMT</pubDate>
            <atom:updated>2025-01-31T13:52:55.003Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone,</p><p>It’s been a long time and this article is my first task for the <a href="https://uniquesec.org/">Uniquesec</a>.</p><p>Today I want to show you how you can install and use Kali Linux on Mac M1 using vmware fusion step by step. Let’s start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWKEUokwCnfyhTKwoOqYig.png" /><figcaption>I think the best kali wp ever :)</figcaption></figure><p>In recent years, there was a virtualization problem for the m1 chip but now you can download and use easily.</p><h4>First of all, you need to 30 gb free space for this process.</h4><p>1. Let’s open the web browser and go to this <a href="https://www.kali.org/">site</a>.</p><p>2. Click the ‘Download’ button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*TjqninudxOs3ZOmqpDGmLA.png" /><figcaption>Download</figcaption></figure><p>3. After the click on download, scroll the screen and you’ll see this page. Choose the ‘Apple Silicon(ARM 24)’ after that download the image file ‘Installer’ which is recommended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*nyHwhWXN-PSZybZvJgLDqg.png" /><figcaption>Apple Silicon</figcaption></figure><p>4. Now, we are downloading iso file and also we have to have own virtual machine too. Go to this <a href="https://www.vmware.com/products/fusion/fusion-evaluation.html">link</a> and there is an options. If you want to have FusionPro, so you can buy but I choose the VMware Fusion Player — Personal Use License one and therefore I will show you this one. If you want Pro option, please check another guides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*j84gnY7Aau_p6uE8zWt1Og.png" /><figcaption>VMWare Fusion 13</figcaption></figure><p>5. Create a user if you dont have one. I have an account and ı choose to log in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*a_YaSOI6v4NHQTPWDbrs5A.png" /></figure><p>6. Once you logged in, under the download section you will see that VMWare available for both Intel&amp;Apple silicon. Go ahead and download the DMG file. Use the license key to activate VMWare Fusion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*vMnJu0bxX4xbQ3sV4jzMeQ.png" /></figure><p>7. After the download this requirements, go to downloads file, open the VMWare Fusion and double click the icon. You need to activate it in this step with the key you obtained in step 6. I cannot show you that step again because I activated it beforehand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*BS71FZaB_fV0RIx-kUq8Nw.png" /></figure><p>8. You will see this window. Please click the continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*jALwt_7NZIb7bkl4uhridg.png" /></figure><p>9. When you click continue and you’ll see this page. Choose the option which is shown in below. In addition ıf there isn’t the iso file like below, you can click use another disc or disc image file after that go to your downloads and select the iso file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*1YMJLECSDJhWOPtcgmnEnA.png" /></figure><p>10. Choose Linux and select Debian 11.x 64-bit Arm</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*XinEjHAnh27hOMVqCpLoWA.png" /></figure><p>11. This is the summary of the virtual machine. Choose the customize settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*w1p4dI3FUgbHdycFflE8ng.png" /></figure><p>12. Set your machine name and click on save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*ZZi_aXip8uUgoZcu21MEAw.png" /></figure><p>13. After the last step, you’ll see this settings page automatically. We will do some changes on Proccessors and Memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*KuSv8w-cWNpc4M7oVMCWjw.png" /></figure><p>14. CPU cores to 4 better performance and I’m gonna allocate 4GB ram for kali linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*v7tHjhgFqW3KxBpDnnVWKg.png" /></figure><p>15. Select the show all and click the hard disk option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*H-216V7byvaLr31ytv8OyA.png" /></figure><p>16. I’m gonna allocate a storage space 30GB apply and start the machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*46Yqnr5QRFftt-UsC5pRkg.png" /></figure><p>17. Once you see this screen, use the arrow case(up-down button) for choose. Select the graphical install.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*aonGcbbyJcIVYCsitrDTsg.png" /></figure><p>18. Set the language you want as the system language</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*Pnco8jx5U2v_qP3i6WmiLg.png" /></figure><p>19. Select your location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*vECRPGEZW2ytRlU_DgWszw.png" /></figure><p>20. Select your keyboard. I’m gonna choose the American English. Beacuse most of all tools and apps made in English.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*JacaVtsgDufNPZXScEzsIg.png" /></figure><p>21. I leave Kali as the hostname and click continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*tukEBmaMppUKxVaITyyEww.png" /></figure><p>22. For the domain name, I use linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*QKnEuoAgyVRLhprxgpCXyw.png" /></figure><p>23. After that set up users and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*NNmrkwgzcSVsQkkLhz0jaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*mbAvas_i3WRIbHDae3g36g.png" /></figure><p>24. Now, use the entire disk for partitioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*X_1yjFDH05wxfvSVR_F_Nw.png" /></figure><p>25. And then select the virtual disk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*XtZLpPJjaaZZE-t6v7Gwvw.png" /></figure><p>26. Select the all files in one partition which is recommended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*_JTCmMLSTkTenE7xDmANTQ.png" /></figure><p>27. Finish partitioning and write changes to disk. You’ll see this screen please don’t misunderstanding this part. This answer comes to default as a No. Change answer to Yes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*Rq-vydSwu9yelPjiUxGKew.png" /></figure><p>28. Lastly, you need to choose the desktop environment. I would like to use an XFCE desktop which is faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*t7Ay2CDXOnpXOovau07PpA.png" /></figure><p>29. Finish the installation and click on continue to reboot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*5_7eeqG6T5YgxTXvg6Geow.png" /></figure><p>30. If everthing is OK, you will see the login page. Use your username and password for log in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*Hxg2D3K9of4WfuoZoYgh6w.png" /></figure><p>31. Open the terminal, and see what release we use. Write the command <em>cat /etc/os-release </em>As you can see, this is the latest version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*AZkWNIvcjoXGYwvOpXR1ZQ.png" /></figure><p>32. We can do some changes for fit to mac. Go to settings and open the Display option.</p><p>Use the native mac version and apply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*pEq5sxXLP7EPIykaPVbZ8Q.png" /></figure><p>33. You have to sure this box unchecked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*DTVuJuMqjqvMbF_rK3PfCw.png" /></figure><p>That’ all. I hope this documentation will be usefull for you. I tried to convey it in full detail, I hope I helped. I’d like to help any problem issue.</p><p>Here is my accounts,</p><blockquote>Linkedin: <a href="https://www.linkedin.com/in/betulsenabirinci/">https://www.linkedin.com/in/betulsenabirinci/</a></blockquote><blockquote>Github: <a href="https://github.com/betulsenabirinci">https://github.com/betulsenabirinci</a></blockquote><p>Here is the UNIQUESEC accounts,</p><p>UNIQUESEC Student Club</p><blockquote>Website: <a href="https://uniquesec.org/">https://uniquesec.org/</a></blockquote><blockquote>Linkedin: <a href="https://www.linkedin.com/company/uniquesec)%E2%80%9D">https://www.linkedin.com/company/uniquesec</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=170dafa8c3ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/uniquesec-task-1-1-installing-kali-linux-on-mac-m1-using-vmware-fusion-2023-170dafa8c3ef">UNIQUESEC Task 1.1: Installing Kali Linux On Mac M1 Using VMware Fusion 2023</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL — SQL Injection Attack — Attack Types]]></title>
            <link>https://medium.com/kurumsal-gelisim/sql-sql-injection-attack-attack-types-7a75ec0afd81?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a75ec0afd81</guid>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Wed, 31 May 2023 14:51:16 GMT</pubDate>
            <atom:updated>2025-01-14T08:14:27.345Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>SQL — SQL Injection Attack — Attack Types</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FIU59fTn5FciOOL0vAVBEw.jpeg" /></figure><p><strong>SQL Nedir?</strong></p><p>Yapısal sorgu dilidir. Verileri yönetmek ve şekillendirmek amacıyla kullanılan bir dildir. SQL, herhangi bir veritabanı ortamında kullanılan bir alt dildir. SQL’de işlemler yalnızca veritabanlarına karşı gerçekleştirilebilir. Veritabanındaki sisteme bilgi eklemek, bilgi değiştirmek, bilgi çıkarmak, bilgi sorgulamak için kullanılır.</p><p><strong>SQL Sorgu Örneği</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*CDjbT0znJXUjMYfojvbshA.png" /></figure><p><strong>SQL Injection Nedir?</strong></p><p>Bu, bir web uygulaması tarafından yürütülen SQL sorgularına müdahale ederek veritabanındaki verilere yetkisiz erişim sağlama yöntemidir.</p><p><strong>OWASP</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*s1smrRxHuO72pHa-Y-DsIw.png" /></figure><p><strong>Injection Definition Based On OWASP</strong></p><p>Bir uygulama şu durumlarda saldırıya açıktır:</p><p>· Kullanıcı tarafından sağlanan veriler, uygulama tarafından doğrulanmaz, filtrelenmez veya temizlenmez.</p><p>· Bağlama duyarlı çıkışlar olmadan dinamik sorgular veya parametreleştirilmemiş çağrılar doğrudan yorumlayıcı tarafından kullanılır.</p><p>· Ek hassas veri kümelerini çıkarmak için nesne ilişkisel eşleme (ORM) arama parametrelerinde riskli veriler kullanılır.</p><p>· Düşman verileri doğrudan veya kombinasyon halinde kullanılır. SQL veya komutlar, dinamik sorgularda, komutlarda veya saklı yordamlarda yapısal veya kötü amaçlı veriler içerir.</p><p><strong>SQL Injection Attack Types</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*btUZL6yuoDF2vXEYN73x5g.png" /></figure><p><strong>1. In Band SQLi (Klasik SQL)</strong></p><p>Bant içi SQL enjeksiyonu, en yaygın ve kullanımı kolay SQL enjeksiyon saldırısıdır. Bant içi SQL enjeksiyonu, bir saldırgan bir saldırı başlatmak ve sonuçları toplamak için aynı iletişim kanalını kullanabildiğinde gerçekleşir. İkiye ayrılır.</p><p><strong>1 A. Error Based SQLi</strong></p><p>Hata tabanlı SQLi, veritabanının yapısı hakkında bilgi edinmek için veritabanı sunucusu tarafından yayınlanan hata mesajlarına dayanan bir bant içi SQL enjeksiyon tekniğidir. Bazı durumlarda, bir saldırganın tüm veritabanını numaralandırması için tek bir hata tabanlı SQL enjeksiyonu yeterlidir. Hatalar, bir web uygulamasının geliştirme aşamasında çok faydalıdır, ancak devre dışı bırakılmalı veya canlı bir sitede kısıtlı erişime sahip bir dosyada oturum açmalıdır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*gtAPLWFybnClAK7zA7t6qw.png" /></figure><p><strong>1b. Union Based SQL Injection</strong></p><p>Bu teknik, tek bir HTTP yanıtı almak için veritabanı tarafından oluşturulan birden çok seçme ifadesini birleştirmek için UNION SQL operatörünü kullanır. Bu yanıt, bir saldırganın kullanabileceği verileri içerebilir. Saldırganın orijinal sorgu tarafından döndürülen sonuçları genişleterek veritabanından bilgi çıkarmasına olanak tanır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*ifbeQheCFGVrBFaOJHWSbw.png" /></figure><p><strong>2. Inferential(Blind) SQL Injection</strong></p><p>Bant içi SQLi’den farklı olarak, bir saldırganın istismar etmesi yavaş olabilir, ancak diğer herhangi bir SQL enjeksiyonu gibi tehlikelidir. Çıkarım SQLi saldırıları aslında verileri web uygulaması aracılığıyla iletmez ve saldırgan bant içi saldırının sonuçlarını göremez (bu nedenle bu tür saldırılara bazen “kör SQL enjeksiyon saldırısı” denir.) Bunun yerine, bir saldırgan, web uygulaması yanıtını ve sonuçta ortaya çıkan veritabanı sunucusu davranışını gözlemlerken bir veri yükü göndererek veritabanı yapısını yeniden oluşturabilir.</p><p>İki tür çıkarımsal SQL Enjeksiyonu vardır. Blind-boolean tabanlı SQLi ve Blind-time-based SQLi’dir.</p><p><strong>2a. Blind Boolen Based SQL Injection</strong></p><p>Kısmi kör enjeksiyonlar, HTTP Durum Kodlarını veya HTML yanıtında doğru veya yanlış ifadeleri gösteren diğer işaretçileri döndüren sorgulardır. Doğru veya yanlış sorgular, 1(Doğru) veya 0(Yanlış) satır döndürülerek de tanımlanabilir. Saldırgan, veritabanına bir SQL sorgusu gönderir ve uygulamadan sonuçları döndürmesini ister. Sonuç, sorgunun doğru veya yanlış olmasına bağlıdır. Sonuca bağlı olarak HTTP yanıtındaki bilgiler değişir veya aynı kalır. Saldırgan daha sonra mesajın doğru mu yoksa yanlış mı olduğunu belirleyebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*9s8gJRn0iS1a2LRDWmZCOw.png" /></figure><p><strong>Balancing Query:</strong> Sonrasında gelen her şey ignore edilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*IbtMiiT8S1jMP0ZOFBwVvQ.png" /></figure><ul><li>Kod Bloğu</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*TueDBEvPu6ednUT1-v_2dA.png" /></figure><ul><li>Normal input</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*x0kW3hBsyQwRLYsAi42LZQ.png" /></figure><ul><li>SQL injection input</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*R42mmpG84NKGCW6cyD8GQA.png" /></figure><ul><li>SQL Sorgusunun Son Hali</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*aJGjK1O1LtUY3s0wbbqOlQ.png" /></figure><ul><li>SQL Sorgusunun Zafiyetli Hali</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*ZJOK5I7PxUkeSVWmdbfaoA.png" /></figure><ul><li>Olası bir durum ve sorgu örnekleri</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*4phwo9ucKV1dM8mPrOIiOg.png" /></figure><p><strong>2b. Time Based Blind SQL Injection</strong></p><p>Zamana dayalı bir saldırıda, bir saldırgan, sorgu yürütmede gecikmeye zorlamak için sunucuya kod içeren SQL komutları gönderir. Yanıt süresi, sorgu sonucunun doğru mu yoksa yanlış mı olduğunu gösterir. Yanıta bağlı olarak, saldırgan başka bir sorgu yürütür. Bu, saldırganın her bir karakteri ayrı ayrı saymasını gerektirdiğinden, özellikle büyük veritabanlarında genellikle yavaş bir penetrasyon tekniğidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*BJ7Ql82Z8BsA07SNAC1iQA.png" /></figure><p>Saldırganın bu özellikleri bir sorguda kullanmaya çalışması ve yanıtı yavaşlatmayı başarması, SQL enjeksiyonunun mümkün olduğunu ve sunucunun veritabanı olarak MySQL kullandığını kanıtlar. (SLEEP işlevi MySQL’de çalışır) Bu, saldırganın daha karmaşık bir yük eklemesine neden olabilir.</p><p><strong>3. Out Of Band SQL Injection</strong></p><p>Bant dışı SQL enjeksiyonu, bir saldırgan aynı kanalı kullanarak bir saldırı başlattığında ve sonuçları toplayamadığında gerçekleşir.</p><p>Buradaki görsel, sorgunun web uygulaması üzerinden uygulamanın veritabanına gönderildiğini göstermektedir. O zaman, ağdaki dinleme sunucusu, veri tabanı çıkış bant isteklerinin bazı DNS ve HTTP etkileşimlerinin bilgilerini yakalar. Bant dışı teknikleri kullanırken <a href="https://portswigger.net/burp/communitydownload">Burp Collaborator’ı</a> kullanabiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*Ged7I-6O4vn2BS5APqo5qg.png" /></figure><p><strong>%d :</strong> Bir dizeyi tamsayıya dönüştüren parametredir.</p><p><strong>Nasıl Önlenir?</strong></p><p><strong>1.</strong> Kullanıcı girişlerinin kontrol edilip filtrelenmesi</p><p><strong>2.</strong> Parametreli sorgu kullanımı (saldırgan komut eklese bile sorgunun amacını değiştiremez)</p><p><strong>3.</strong> Kullanıcı rollerini minimum izinlerle sınırlamak</p><p><strong>4.</strong> WAF’ın devrede olması</p><p><strong>5.</strong> Yazılan sorguların baştan gözden geçirilmesi</p><p><strong>6.</strong> Çift faktörlü doğrulamalar</p><p><strong>7.</strong> Güncel sistemlerin kullanımı</p><p><strong>8.</strong> Parametreyi sorguya göndermeden önce PDO (Php Data Object) ile yapılandırmak.</p><p><strong>9.</strong> LIMIT Clause kullanımı</p><p><strong>PDO:</strong> Veritabanlarına kolay ve kararlı erişimi kolaylaştıran bir arayüzdür ve PHP sürüm 5.1&#39;den beri kullanılmaktadır.Köklü değişiklik yapılacağı zaman bunu arayüz üzerinden basitçe düzenleyerek yapmak mümkündür.</p><p><strong>LIMIT: </strong>Döndürülecek kayıt sayısını belirtmek için kullanılır.</p><p><strong>Kaynakça</strong></p><p>· <a href="https://tr.wikipedia.org/wiki/SQL">https://tr.wikipedia.org/wiki/SQL</a></p><p>· <a href="https://petri.com/sql-server-string-data-types/">https://petri.com/sql-server-string-data-types/</a></p><p>· <a href="https://owasp.org/Top10/">https://owasp.org/Top10/</a></p><p>· <a href="https://www.hackingloops.com/sql-statements-made-into-sql-injections/">https://www.hackingloops.com/sql-statements-made-into-sql-injections/</a></p><p>· <a href="https://medium.com/@saqibshabbir/in-band-sql-injection-walk-through-part-1-d0a6f12ed69c">https://medium.com/@saqibshabbir/in-band-sql-injection-walk-through-part-1-d0a6f12ed69c</a></p><p>· <a href="https://sqlwiki.netspi.com/injectionTypes/unionBased/#mysql">https://sqlwiki.netspi.com/injectionTypes/unionBased/#mysql</a></p><p>· <a href="https://www.cloudflare.com/learning/security/threats/sql-injection/">https://www.cloudflare.com/learning/security/threats/sql-injection/</a></p><p>· <a href="https://beaglesecurity.com/blog/vulnerability/time-based-blind-sql-injection.html">https://beaglesecurity.com/blog/vulnerability/time-based-blind-sql-injection.html</a></p><p>· <a href="https://www.drupal.org/forum/support/module-development-and-code-questions/2007-03-05/what-do-d-and-s-variables-mean-in-sql">https://www.drupal.org/forum/support/module-development-and-code-questions/2007-03-05/what-do-d-and-s-variables-mean-in-sql</a></p><p>· <a href="https://www.prplbx.com/resources/blog/sql-injection/">https://www.prplbx.com/resources/blog/sql-injection/</a></p><p>· <a href="https://blog.sqreen.com/sql-injection-explained/">https://blog.sqreen.com/sql-injection-explained/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a75ec0afd81" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/sql-sql-injection-attack-attack-types-7a75ec0afd81">SQL — SQL Injection Attack — Attack Types</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sosyal Mühendislik Metodolojileri]]></title>
            <link>https://medium.com/kurumsal-gelisim/sosyal-m%C3%BChendislik-metodolojileri-d2b626ad2404?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2b626ad2404</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[socialengineeringattack]]></category>
            <category><![CDATA[sosyal-mühendislik]]></category>
            <category><![CDATA[siber-guvenlik]]></category>
            <category><![CDATA[methodology]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 20:43:01 GMT</pubDate>
            <atom:updated>2025-01-18T16:56:52.557Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Sosyal Mühendislik Metodolojileri</strong></p><p>Firmalar kendilerini ve çalışanlarını denetlemek amacıyla başka şirketlerden sızma testi hizmeti almaktadır. Bu testin içerisinde de ilk olarak sosyal mühendislik yöntemleri denenmektedir. Bu yöntemler aşağıda sıralandığı gibidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*XQ21dKrQ-lGYgXvS46i2eQ.png" /></figure><p><strong>1- Bilgi Toplama:</strong> Sosyal mühendisliğin en önemli ve en uzun adımı bu aşamadır. Bu noktada bilgi gerekli mi gereksiz mi düşünülmez ve elde edilebildiği kadar bilgiye ulaşılmaya çalışılır. Daha sonra ulaştığımız tüm bilgileri kategorize ederek, kullanmaya hazır hale getiririz.</p><p><strong>2- Açık- Zayıflık Tarama:</strong> Bu aşamada ilk adımda topladığımız bilgilerden yere çıkarak açık barındıran yerleri otomatik araçlar ile ya da manuel olarak taramaya başlarız. Teknik bilgi birikimi gerektiren çok detaylı bir aşamadır.</p><p><strong>3- Sisteme Sızma:</strong> 2. aşamada keşfettiğimiz açıkları istismar ederek sistemi elde etmeye çalışırız. Bu aşamada müşteriye / firmaya muhakkak bilgi verilmesi gerekmektedir. Bunun dışarıdan değil test amaçlı yaptığının belirtilmesi önem arz eder. Bu istismar esnasında müşterinin talebi doğrultusunda yönelimler gerçekleştirilmektedir.</p><p><strong>4- Elde Edilen Erişimi Koruma:</strong> Açıkları istismar edip sisteme erişim sağladıktan sonraki aşamadır. Bu aşamada erişimi koruyup, kalıcı hale getirmeye çalışırız.</p><p><strong>5- İzlerin Temizlenmesi:</strong> Hedef sistemde erişim ve kalıcılıktan sonra buraya kadar olan aşamalardaki izlerin temizlenmesidir.</p><p><strong>6- Raporlama:</strong> Bu son aşamaya gelene kadar yaptığımız tüm test,analiz ve saldırıların müşteriye detaylı ve açık bir şekilde belirtilmesi diğer adıyla raporlanmasıdır. Açıklar ile ilgili ne yapılması gerektiği hakkında bilgiler verilmelidir. Daha sonra müşterinin açıklar ile ilgili geri bildiriminiz doğrultusunda son kez testler yapılır ve süreç sonlandırılır.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2b626ad2404" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/sosyal-m%C3%BChendislik-metodolojileri-d2b626ad2404">Sosyal Mühendislik Metodolojileri</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Güncel ve Modern Sosyal Mühendislik Yöntemleri]]></title>
            <link>https://medium.com/kurumsal-gelisim/g%C3%BCncel-ve-modern-sosyal-m%C3%BChendislik-y%C3%B6ntemleri-3dacdaa2e1e8?source=rss-bec299b3829e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dacdaa2e1e8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyberattack]]></category>
            <category><![CDATA[socialengineeringattack]]></category>
            <category><![CDATA[siber-guvenlik]]></category>
            <category><![CDATA[sosyal-mühendislik]]></category>
            <dc:creator><![CDATA[Betül Sena Birinci]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 12:36:26 GMT</pubDate>
            <atom:updated>2025-01-14T08:14:49.075Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Güncel ve Modern Sosyal Mühendislik Yöntemleri</strong></p><p>Arkadaşlar merhaba. Öncelikle sosyal mühendislik nedir? bunu tanımlayarak konuya giriş yapalım.</p><p>Sosyal mühendislik, kötü amaçlı saldırganların -diğer adıyla internet korsanlarının- hedefledikleri kişiye yönelik yaptıkları psikolojik olan manipülasyonlardır. Bu manipülasyon sonucu amaçları ya gizli bilgilere ulaşmak ya da ulaştıkları bilgiyi ifşa etmek istemeleridir. Güvenlik anlamında sektörü bir zincir gibi düşünürsek bu zincirde donanım açıkları, yazılım açıkları, sistem yanlışlıkları gibi faktörler bulunmaktadır. Fakat bu zincirdeki en savunmasız ve en tehlikeli halka kesinlikle insan faktörüdür. Saldırgan belirli yöntemleri, teknikleri size karşı usta bir şekilde kullanarak, size istediği davranışları yaptırmaktadır. Daha açık olursak, teknoloji ile değil hile ile yani sizi kandırarak istediği şeye ulaşmayı hedefler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*Rxn4PRhaou3G-jmzP2F1Dw.png" /></figure><p><strong>— GÜNCEL —</strong></p><p>Sosyal mühendislik, Robert Cialdini’ye göre altı ilkeye dayanır;</p><p><strong>1-Karşılıklılık: </strong>İnsanların yapılan herhangi bir iyiliğe karşılıksız kalamama eğilimine verilen isimdir. Ücretsiz verilen pazarlama ürünleri buna dahildir.</p><p><strong>2-Bağlılık ve Tutarlılık:</strong> İnsanların bir fikre sözlü veya yazılı taahhüt vermesi, o bağlılığı yerine getirme ihtimali daha yüksektir.</p><p><strong>3-Sosyal Kanıt:</strong> İnsanlar, diğer insanlarda gördükleri şeyleri yapmaya daha çok meyillidirler. Örneğin yapılan araştırmaya bu kadar katılımcı dahil oldu gibi veriler dikkat çekmektedir.</p><p><strong>4-Otorite:</strong> Riskli ve tehlikeli davranışlar istense bile insanlar otoriteye itaat etme eğiliminde olacaktır.</p><p><strong>5-Sempati: </strong>İnsanlar sempati duyduğu insana karşı daha hızlı ikna olmaktadır. Yani aldığınız üründe satıcı kişiyi beğenmenizden dolayı almanız büyük olasılıktadır.</p><p><strong>6-Kıtlık:</strong> Bir şeye karşı gösterilen kıtlık tutumu talebi arttırır. Örneğin, “sınırlı sayıda” etiketi satışı teşvik eder.</p><p><strong>— ALINABİLECEK TEDBİRLER —</strong></p><p>1- Çalışanları eğitmek, bilgilendirmek.</p><p>2- Hassas bilgiler için nerede, nasıl ve ne için kullanılacağı konusunda standartlar belirlemek.</p><p>3- Bilgilerin gerçekten hassas olup olmadığını belirlemek.</p><p>4- Hassas veriler için güvenlik protokolleri oluşturmak.</p><p>5- Güvenlik amacıyla belirli periyotlarda testler gerçekleştirmek.</p><p>Yukarıdaki adımları düzenli şekilde gözden geçirmek büyük ölçüde güvenlik sağlar ama unutmayın ki asla tam olarak güvenli denemez.</p><p><strong>— MODERN —</strong></p><p>Günümüzde çokça karşımıza çıkan sosyal mühendislik türlerinden bazıları,</p><p>Linke tıklayın ve sayılı hediyelerden kazanın, Formu doldurarak çekilişe katılın ve sürpriz hediye kazanma fırsatı yakalayın, Aşağıdaki linke tıklayarak ücretsiz sorgulama yapabilirsiniz.</p><p>Bunun gibi ve buna benzer birçok mesaj hepimiz almışızdır. Öncelikle kimse size sebepsiz yere hediye, ücretsiz ürün vermez. Bir yerde ödeme yapmadan karşılığında bir şeyler alıyorsanız unutmayın ki ürün sizsinizdir. Gönderilen linke dikkat etmek, gerekli sitelerden kontrolünü yapmak <a href="https://www.virustotal.com/gui/home/upload"><em>(bkz.virustotal)</em></a><em> </em>oldukça önemlidir.</p><p>Saldırgan, hedeflediği saldırı öncesinde birtakım hazırlıklar yapar. Bunları aşağıdaki gibi sıralayabiliriz;</p><p><strong>1-Bilgi Toplama:</strong> Öncelikli olarak saldırı hazırlık aşamasının ilk ve en uzun adımıdır. Hedefe yönelik tüm bilgileri burada elde edilir. Sabır ve dikkat gerektirir.</p><p><strong>2-Bağlantı Kurma: </strong>Hedef ile ilgili gerekli bilgileri elde ettikten sonra sıra hedef ile bağlantıya yani iletişime geçmektir.</p><p><strong>3-Saldırı:</strong> Hedefle uzun bir süre bağlantı halinde kaldıktan sonra saldırı planı netleşir ve aşamalı olarak hala bilgi toplanır.</p><p><strong>4-Bitirme:</strong> Karşı taraftan artık yeterince bilgi alınmıştır ve mağdur genelde saldırıya uğradığını anlamaz. Saldırgan yavaş şekilde bağlantı koparmaya çalışıp, uzaklaşır.</p><p><strong>— Sosyal Mühendislik Teknikleri —</strong></p><p>Genel olarak saldırganın amacı sistemi ele geçirmek, kritik bilgilere erişmek, sistemlerde erişim sağlamak ve sistemde kalıcı olmaktır.</p><p><strong>1- Truva atı:</strong> Kötü amaçlı yazılımlar(malware), gerçek amaçlarını saklayarak sisteme ulaştıktan sonra backdoor, cihaz kontrolü, veri çalmak, başka zararlı yazılımlar yürütmek gibi amaçlar için kullanılır.</p><p><strong>2- Phishing:</strong> Kurum ve kuruluşların birimleri gibi güvenli görünerek, kredi kartı, e-posta bilgileri, kimlik bilgileri gibi son derece önemli bilgilerin çalınmasını hedefleyen saldırı türüdür.</p><p><strong>3- Tersine sosyal mühendislik:</strong> Sabotaj, pazarlama ve destek adımlarından oluşan saldırı tekniğidir.</p><p><strong>4- Shoulder surfing:</strong> Parola gibi gizli bilgiler yazılırken, sistemlere erişilirken hedefin dürbün gibi cihazlarla yapılmasıdır.</p><p><strong>5-Smishing: </strong>Saldırgan, kötü amaçlı bir ek veya linki açması için hedefe sahte mesajlar gönderir. SMS ve Phishing kelimelerinden türetilmiştir.</p><p><strong>— ALINABİLECEK TEDBİRLER —</strong></p><p>1- Kişisel-özel bilgileri her alanda paylaşmamak.</p><p>2- Şifreleri güçlü oluşturmak.</p><p>3- İrtibata geçtiğiniz kişileri sorgulamak, hemen güvenmemek.</p><p>4- Gerekli sitelerden URL kontrolü yapmak</p><p>5- Periyodik olarak bilgi güvenliği testleri yapmak.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dacdaa2e1e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/g%C3%BCncel-ve-modern-sosyal-m%C3%BChendislik-y%C3%B6ntemleri-3dacdaa2e1e8">Güncel ve Modern Sosyal Mühendislik Yöntemleri</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>