<?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 Bikram Sadhukhan on Medium]]></title>
        <description><![CDATA[Stories by Bikram Sadhukhan on Medium]]></description>
        <link>https://medium.com/@bikramsadhukhan505?source=rss-a54da72b9a9f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jn_YUdwDes1uWBoutsecpg.jpeg</url>
            <title>Stories by Bikram Sadhukhan on Medium</title>
            <link>https://medium.com/@bikramsadhukhan505?source=rss-a54da72b9a9f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:58:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bikramsadhukhan505/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[Attribute-Based Encryption (ABE) mode]]></title>
            <link>https://medium.com/@bikramsadhukhan505/attribute-based-encryption-abe-mode-c5642eb20615?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5642eb20615</guid>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Thu, 06 Jun 2024 11:16:06 GMT</pubDate>
            <atom:updated>2024-06-06T11:16:06.907Z</atom:updated>
            <content:encoded><![CDATA[<p>Components of the ABE Model with Parallel Outsourced Computations</p><p>Setup<br>- This algorithm initializes the system parameters and the master secret key. It is run by a trusted authority.</p><p>Key Generation<br>- This algorithm generates user-specific secret keys based on their attributes. The key generation process may also be outsourced to edge devices to save computational resources on the drones.</p><p>Encryption<br>- This algorithm encrypts data based on an access policy. The encryption process can be parallelized and outsourced to edge devices, leveraging their computational power.</p><p>Decryption<br>- This algorithm decrypts the ciphertext using the user’s secret key. Similar to encryption, the decryption process can also be parallelized and outsourced to edge devices.</p><p>— -</p><p>Process Flow</p><p>Data Encryption (Outsourced)<br>- Input: Plaintext data, access policy, public parameters.<br>- Process: The edge device encrypts the data using the specified access policy and public parameters. Spark’s parallel processing capabilities are utilized to perform these operations efficiently.<br>- Output: Ciphertext.</p><p>Key Generation (Outsourced)<br>- Input: User attributes, master secret key.<br>- Process: The edge device generates the user’s secret key based on their attributes and the master secret key.<br>- Output: User-specific secret key.</p><p>Data Decryption (Outsourced)<br>- Input: Ciphertext, user-specific secret key, public parameters.<br>- Process: The edge device decrypts the ciphertext using the user’s secret key and the public parameters. Parallel processing ensures that this operation is performed efficiently.<br>- Output: Plaintext data.</p><p>— -</p><p>Assumptions and Security Considerations</p><p>- The model assumes that edge devices are trusted, meaning there is no need for verifying the correctness of outsourced computations. This assumption simplifies the model and reduces computational overhead.<br>- In scenarios where edge devices cannot be fully trusted, a verification method must be implemented to ensure the integrity and correctness of outsourced computations. This is addressed by the ABEM-POD (Attribute-Based Encryption Model with Parallel Outsourced Decryption) scheme.</p><p>— -</p><p>ABEM-POD Scheme for Verification</p><p>When edge devices are semi-trusted or untrusted, the ABEM-POD scheme can be used to verify the correctness of outsourced computations. This involves:</p><p>Challenge-Response Mechanism<br>- The drone or user can issue a challenge to the edge device, requiring it to perform specific computations and return the results.</p><p>Proof Verification<br>- The returned results are verified against expected outcomes to ensure correctness.</p><p>Auditing<br>- Periodic audits of the edge device’s computations can be performed to detect any deviations or malicious behavior.</p><p>— -</p><p>Benefits</p><p>- By outsourcing computationally intensive tasks to edge devices and using parallel processing, the ABE model significantly reduces the time and energy required for encryption and decryption.<br>- The model can handle large volumes of data and a high number of encryption/decryption requests due to the parallel processing capabilities of platforms like Spark.<br>- Drones, which have limited computational resources and battery life, benefit from reduced power consumption by offloading heavy computations.</p><p>— -</p><p>Conclusion</p><p>The ABE model with parallel outsourced computations represents a significant advancement in the field of cryptographic operations, particularly in resource-constrained environments. By leveraging trusted edge devices and parallel processing, it offers enhanced efficiency, scalability, and power savings. For environments where edge devices are semi-trusted or untrusted, additional verification methods like those in the ABEM-POD scheme ensure the integrity and security of outsourced computations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5642eb20615" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Data Security Through Remote Data Wipe: Types and Implementation Strategies]]></title>
            <link>https://medium.com/@bikramsadhukhan505/enhancing-data-security-through-remote-data-wipe-types-and-implementation-strategies-0168a01be58b?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0168a01be58b</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[cybercrime]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Fri, 10 May 2024 13:15:00 GMT</pubDate>
            <atom:updated>2024-05-10T13:15:00.258Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction:</strong><br>In today’s interconnected digital landscape, the security of sensitive data is paramount. With the proliferation of mobile devices and the increasing trend of remote work, the risk of data breaches due to lost or stolen devices has become a significant concern for individuals and organizations alike. In response to this challenge, remote data wipe technology has emerged as a powerful tool for safeguarding data and mitigating the risks associated with device loss or theft. This essay explores the concept of remote data wipe, its various types, and effective implementation strategies to enhance data security.</p><p>Understanding Remote Data Wipe:<br>Remote data wipe, also known as remote device wipe or remote data erasure, refers to the process of securely deleting data from a device remotely. It enables users or administrators to initiate the deletion of sensitive information stored on a lost or stolen device to prevent unauthorized access. Remote data wipe functionality can be implemented through mobile device management (MDM) solutions, specialized endpoint security tools, or built-in features provided by operating systems.</p><blockquote>Types of Remote Data Wipe:<br>1. <strong>Complete Device Wipe</strong>:<br> — This type of remote wipe involves erasing all data stored on the device, including personal files, applications, and system settings.<br> — It is typically used in scenarios where the device is lost or stolen, and there is a need to ensure that no sensitive information remains accessible to unauthorized individuals.</blockquote><blockquote><strong>2. Enterprise Wipe:</strong><br> — Enterprise wipe is focused on removing corporate data and settings from a device while preserving personal data.<br> — It is commonly employed in organizations where employees use company-owned devices for work-related tasks, ensuring that sensitive business information is protected in the event of device loss or employee departure.</blockquote><blockquote><strong>3. Application-Specific Wipe:</strong><br> — This type of remote wipe targets specific applications or data repositories on the device.<br> — It allows for selective deletion of sensitive information, making it suitable for scenarios where only certain data needs to be removed, such as in BYOD (Bring Your Own Device) environments.</blockquote><p>Implementation Strategies:<br>1. Comprehensive Policies:<br> — Organizations should establish clear and comprehensive remote data wipe policies outlining the circumstances under which remote wipe can be initiated, authorized personnel, and specific procedures to follow.<br> — These policies should be communicated to all employees to ensure awareness and compliance with data security protocols.</p><p>2. Integration with Security Measures:<br> — Remote data wipe should be integrated with other security measures, such as data encryption, strong password protection, and regular data backups, to provide layered defense against unauthorized access and data breaches.<br> — By combining remote wipe with encryption technologies, organizations can ensure that even if data is compromised, it remains unreadable to unauthorized parties.</p><p>3. Employee Education:<br> — Employee education and training play a crucial role in ensuring the effective implementation of remote data wipe.<br> — Employees should be educated on the importance of data security, the procedures for reporting lost or stolen devices, and the implications of remote wipe on their personal and work-related data.</p><p>Conclusion:<br>Remote data wipe serves as a vital tool in the arsenal of data security measures, offering organizations the ability to protect sensitive information in the face of device loss or theft. By understanding the different types of remote wipe and implementing effective strategies for its deployment, organizations can enhance their data security posture and mitigate the risks associated with unauthorized access to sensitive data. However, it is essential to recognize that remote data wipe is just one component of a comprehensive data security strategy and should be supplemented with other measures to ensure holistic protection against evolving cyber threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0168a01be58b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding NTFS: The Backbone of Windows File Systems Understanding NTFS: The Backbone of…]]></title>
            <link>https://medium.com/@bikramsadhukhan505/understanding-ntfs-the-backbone-of-windows-file-systems-understanding-ntfs-the-backbone-of-24d62c88bcef?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/24d62c88bcef</guid>
            <category><![CDATA[ntfs]]></category>
            <category><![CDATA[ntfs-data-recovery]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Tue, 07 May 2024 03:04:15 GMT</pubDate>
            <atom:updated>2024-05-07T03:04:15.150Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding NTFS: The Backbone of Windows File Systems Understanding NTFS: The Backbone of Windows File Systems</h3><p>While I was studying for a MCQ test on networking and OS, I came across a term NTFS, so I did study more about it.</p><p>Introduction:<br>NTFS (New Technology File System) stands as the cornerstone of Microsoft’s Windows operating systems, serving as the underlying structure for organizing and managing data on storage devices. Since its inception alongside Windows NT, NTFS has undergone continuous refinement, evolving into a robust and feature-rich file system. This article delves into the intricacies of NTFS, exploring its architecture, key features, advantages, and its significance in modern computing environments.</p><p>Evolution and Architecture:<br>NTFS emerged in the mid-1990s as a successor to the FAT (File Allocation Table) file system, offering enhanced capabilities to meet the escalating demands of computing. Unlike FAT, which was susceptible to fragmentation and lacked advanced security features, NTFS introduced a journaling file system that ensured data integrity and improved reliability. Its architecture comprises various components, including the Master File Table (MFT), which serves as a database containing metadata for all files and directories, and attributes that define their properties and permissions.</p><p>Key Features:<br>NTFS is renowned for its rich feature set, catering to diverse user requirements and system functionalities. One notable feature is support for large files and volumes, enabling the handling of massive datasets and storage capacities. Additionally, NTFS integrates advanced security mechanisms such as access control lists (ACLs) and file encryption, safeguarding sensitive information from unauthorized access. Its support for file compression facilitates efficient disk utilization, reducing storage overhead without compromising data integrity. Furthermore, NTFS incorporates transactional capabilities, enabling atomic operations and ensuring the consistency of file system changes, crucial for database and enterprise applications.</p><p>Advantages:<br>The adoption of NTFS confers numerous advantages to Windows users and system administrators. Enhanced reliability and data integrity mitigate the risk of file system corruption and data loss, bolstering system stability and user confidence. Improved performance, attributed to optimized file allocation strategies and caching mechanisms, enhances overall system responsiveness and productivity. NTFS’s advanced security features empower administrators to enforce granular access controls and encryption policies, fortifying data protection and regulatory compliance. Moreover, its scalability accommodates the evolving storage requirements of modern computing environments, supporting terabyte-sized volumes and petabyte-scale storage solutions.</p><p>Significance in Modern Computing:<br>In the contemporary digital landscape, characterized by exponential data growth and evolving cyber threats, NTFS retains its relevance as a robust and adaptable file system. Its compatibility with Windows-based platforms, including servers, workstations, and enterprise deployments, ensures seamless interoperability and integration within heterogeneous environments. Moreover, NTFS’s extensibility facilitates the development of third-party utilities and system enhancements, enriching the ecosystem of Windows-based solutions. As organizations embrace cloud computing and hybrid infrastructures, NTFS remains a foundational element, bridging on-premises and cloud-based storage environments while maintaining data consistency and accessibility.</p><p>Conclusion:<br>NTFS stands as a testament to Microsoft’s commitment to innovation and resilience, enduring as the bedrock of Windows file systems for over two decades. Its evolution from a nascent file system to a sophisticated storage solution reflects the relentless pursuit of excellence in addressing the evolving needs of users and organizations. As technology continues to advance, NTFS remains steadfast, embodying the principles of reliability, performance, and security essential for modern computing infrastructures. In an era defined by digital transformation and data-driven decision-making, NTFS remains indispensable, empowering users to unleash the full potential of their digital assets while safeguarding their integrity and confidentiality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24d62c88bcef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[hack://Envision CTF (quarkCTF)]]></title>
            <link>https://medium.com/@bikramsadhukhan505/hack-envision-ctf-quarkctf-de490c439828?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/de490c439828</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[steganography]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Thu, 22 Feb 2024 14:10:20 GMT</pubDate>
            <atom:updated>2024-02-22T14:10:20.691Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*67nYB_AmPQ0Ja4SP8M9coQ.png" /></figure><p><strong>Steganography and Forensics</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*fJvQD8t1s1KiNqMn1cfPoQ.png" /></figure><p>So , after I downloaded it , there were “audio1” and “image” inside it. I used Audacity to get the a string</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*qnjmU25Efe396l5mI2KQ5Q.png" /></figure><p>Now I used it to decrypt the zip and got</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*8C7eo0kylZuTXxb1Q2sq9w.png" /></figure><p>Now , I got a comment within the picture</p><p>xbhyrJAM{T41u-qOb7n4-U4o1–8HS4}</p><p>and using ROT 7 I got the flag</p><p><strong>quarkCTF{M41n-jHu7g4-N4h1–8AL4}</strong></p><p><strong>OSINT</strong></p><p>I got the file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*AjAumYEenB0_xivXAS0yGg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*sPHySdCaXxl9YVGYL_ELAw.png" /></figure><p>I got a comment</p><p>The little boy from Rosario, Santa Fe, has just pitched up in heaven. He climbs into a galaxy of his own. He has his crowning moment and of course he is not alone.</p><p>I google and found it was said by Peter Drury</p><p>So the flag was <strong>quarkCTF{Peter_Drury}</strong></p><p><strong>Web Exploitation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*CIZVmOd5-9_yglqP2B3Vrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*cxw_IaqCkQQWqSWnIFJFWA.png" /></figure><p>In blog1 I went to the page source and found</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*0IJ-lp236lSfXk20Zzmaag.png" /></figure><p>so I decoded this base64 and found</p><p><strong>quarkCTF{b64_15nt_3ncrypt10n}</strong></p><p><strong>Miscellaneous</strong></p><p>I downloaded the file and inside it there was a PNG file so I found a comment in it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*90S3BToWESEJN-f-hHr00Q.png" /></figure><p>cXVhcmtDVEZ7bXU1dF9kMzV0cjB5XzN2MWxfcXU0cmt9</p><p>decoding in base64 I got <strong>quarkCTF{mu5t_d35tr0y_3v1l_qu4rk}</strong></p><p><strong>OSINT</strong></p><p>Question — Tom brick is an Intern for us at hack envision, he’s really good at his work, but we noticed he ignore security practices.</p><p>Your challenge is to find tom’s gmail id<br> Flag format : quarkCTF{his-email-id}</p><p>Answer — As he was an intern , I thought he would be on github , so I tried trial and error method and found the github — <a href="https://github.com/tombrickctf">tombrickctf</a></p><p>There was a QR Code which in scanning gave me his Gmail ID</p><p><strong>quarkCTF{</strong><a href="/service/mailto:tombrickctf@gmail.com"><strong>tombrickctf@gmail.com</strong></a><strong>}</strong></p><p>Question — Submit the final flag (after you log in successfully)</p><p>There was a .txt file containing link to a login page —</p><p>login.hackenvision.ctf.teamquark.com</p><p>I used his gmail and used authenticator to get an OTP and logged in to get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*pp4Gqy1sxSVSvmwZZtwlpA.png" /></figure><p><strong>Stegnography and Forensics</strong></p><p>There was this challenge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*iKA9Sm_JC5_o9frP1efKpQ.png" /></figure><p>I downloaded it and on reading file headers , I understood it was PNG in some form , so I changed the hex edit and got a PNG File which was not opening in Windows , so I moved it to Linux and got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*gBoj8aH7OFWvJG3TrCnTCQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de490c439828" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Password Attacks!]]></title>
            <link>https://medium.com/@bikramsadhukhan505/password-attacks-75d7277b99c7?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/75d7277b99c7</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[password-security]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Thu, 15 Feb 2024 16:26:18 GMT</pubDate>
            <atom:updated>2024-02-15T16:26:18.309Z</atom:updated>
            <content:encoded><![CDATA[<p>Today , I read about some interesting Linux Commands. They were :</p><ol><li>cewl</li><li>username_generator.py</li><li>crunch</li><li>cupp.py</li></ol><blockquote>Cewl can be used to effectively crawl a website and extract strings or keywords. Cewl is a powerful tool to generate a wordlist specific to a given company or target.</blockquote><blockquote>cewl -w [text file name] -d 5 -m 5 <a href="http://thm.labs/">[</a>website name]</blockquote><blockquote>Here</blockquote><blockquote>-w = write into the file</blockquote><blockquote>-m 5 = strings (words) that are 5 characters or more</blockquote><blockquote>-d 5 = depth level 5 of web crawling/spidering (default 2)</blockquote><blockquote>username-generator.py is used to generate usernames based on a single username</blockquote><blockquote>echo “John Smith” &gt; users.lst</blockquote><blockquote>python3 username_generator.py -w users.lst</blockquote><blockquote>This will save into users.lst the follwoing….</blockquote><blockquote>john , smith, j.smith, j-smith, j_smith, j+smith, jsmith, smithjohn</blockquote><blockquote>Crunch can create a wordlist based on the criteria you specify.</blockquote><blockquote>crunch 2 2 01234abcd -o crunch.txt</blockquote><blockquote>Here 2 is the minimum no of characters and 2 is the maximum no of characters. 01234abcd is the string from where the password combinations are to be made.</blockquote><blockquote>cupp.py:</blockquote><blockquote>Purpose: It’s a Python script designed to generate potential password combinations based on information provided by the user.</blockquote><blockquote>Function: It takes input like names, dates, hobbies, and locations to create personalized wordlists for password cracking attempts.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75d7277b99c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding API and API Security Basics:]]></title>
            <link>https://medium.com/@bikramsadhukhan505/understanding-api-and-api-security-basics-a95a1d9122f2?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a95a1d9122f2</guid>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 18:07:38 GMT</pubDate>
            <atom:updated>2024-02-04T18:07:38.581Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week I started reading about APIs and had a brief knowledge about it.</p><p>Introduction: Application Programming Interfaces (APIs) play a pivotal role in modern software development, enabling seamless integration, data exchange, and communication between diverse systems and services. As APIs become increasingly integral to digital transformation initiatives, understanding the fundamentals of API design, implementation, and security is essential for developers, IT professionals, and businesses alike. In this article, we delve into the basics of APIs and explore key considerations for ensuring robust API security.</p><p>What is an API? An API, or Application Programming Interface, serves as an intermediary that allows different software applications to communicate and interact with each other. It defines the methods and protocols that developers can use to access the functionality and data of another software component, service, or platform.</p><p>APIs facilitate the exchange of information and enable developers to leverage the capabilities of existing systems without needing to understand their internal workings. They promote modularity, interoperability, and scalability in software development, fostering innovation and accelerating time-to-market for new applications and services.</p><blockquote>Types of APIs:</blockquote><blockquote>Web APIs: Web APIs, also known as HTTP APIs or RESTful APIs, use HTTP protocols to enable communication between web-based systems. They typically employ standard HTTP methods such as GET, POST, PUT, and DELETE to perform operations on resources exposed by the API.</blockquote><blockquote>SOAP APIs: Simple Object Access Protocol (SOAP) APIs utilize XML-based messaging formats and protocols to facilitate communication between distributed systems. SOAP APIs are often used in enterprise environments and support advanced features such as security, transactions, and reliability.</blockquote><blockquote>RPC APIs: Remote Procedure Call (RPC) APIs allow a client application to invoke procedures or functions on a remote server as if they were local function calls. RPC APIs abstract the complexities of network communication and enable seamless interaction between distributed components.</blockquote><p>API Security Fundamentals: Ensuring the security of APIs is paramount to protecting sensitive data, maintaining system integrity, and preventing unauthorized access and misuse. Here are some fundamental principles and best practices for API security:</p><blockquote>Authentication: Implement robust authentication mechanisms to verify the identity of clients and users accessing the API. Common authentication methods include API keys, OAuth tokens, JSON Web Tokens (JWT), and client certificates.</blockquote><blockquote>Authorization: Enforce fine-grained access controls and authorization policies to restrict the actions and resources that authenticated users and clients can access. Role-based access control (RBAC), attribute-based access control (ABAC), and OAuth scopes are commonly used for authorization.</blockquote><blockquote>Encryption: Encrypt sensitive data transmitted over the network using secure communication protocols such as HTTPS (HTTP over SSL/TLS). Transport Layer Security (TLS) encryption ensures data confidentiality and integrity, protecting against eavesdropping and tampering attacks.</blockquote><blockquote>Input Validation: Validate and sanitize input parameters and data payloads to prevent injection attacks such as SQL injection, cross-site scripting (XSS), and command injection. Input validation helps mitigate the risk of malicious actors exploiting vulnerabilities in the API.</blockquote><p>Conclusion: APIs represent the foundation of modern software integration and enable seamless connectivity and interoperability between disparate systems and services. However, ensuring the security and integrity of APIs is critical to protecting sensitive data, maintaining compliance, and safeguarding against evolving cyber threats.</p><p>Just like OWASP Top 10 for WAPT , we have OWASP Top 10 for APIs too :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a95a1d9122f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CTF Writeup dump!]]></title>
            <link>https://medium.com/@bikramsadhukhan505/ctf-writeup-dump-99dff52e9de8?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/99dff52e9de8</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctflearn]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 04:35:50 GMT</pubDate>
            <atom:updated>2024-01-31T04:35:50.004Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>I had this image</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WojLC9_x_bTZXmxn3cvfgg.jpeg" /></figure><p>and a password in base64 which was “pubg” so I used steghide</p><blockquote>steghide extract -sf PUBGsteg_083d77b6–8b1f-4854-a739–5896fd6594ed_32bc4481–6463–4997-b6d0-c79048f0e38e.jpg</blockquote><p>and put “pubg” as passphrase and I got a .txt file which had</p><blockquote>CTF{pUbg_1s_b3tt3r_th@n_fr33_f1re}</blockquote><p>2. I had this image file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*Z_teBsUGnTAoLbkTofuo2A.jpeg" /></figure><p>I used a variety of steg tools like steghide , stegseek but only jsteg could solve this one</p><blockquote>jsteg reveal Carryminati_Secret_25db490d-9911–4ea1-b55e-77d246e83c52.jpeg ff.txt</blockquote><p>and the txt file ff.txt had the flag</p><blockquote>flag{carry_is_really_pro_in_gta}</blockquote><p>3. I had this text in cryptography section</p><blockquote>~C8 =39 A?2V8 73J:C 8FG7 AF?JJC2ECP</blockquote><blockquote>DF?LHb=r_&gt;b0%_0520&lt;c8bPN</blockquote><p>I analyzed it and found it to be ROT-47 cipher so I decoded it online and got</p><blockquote>Results</blockquote><blockquote>Org lbh pna’g fbyir guvf punyyratr!</blockquote><blockquote>sun{w3lC0m3_T0_da_k4g3!}</blockquote><p>Thanks</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99dff52e9de8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.jar file CTF Problem]]></title>
            <link>https://medium.com/@bikramsadhukhan505/jar-file-ctf-problem-9ff9aef17b6c?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ff9aef17b6c</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctflearn]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Tue, 23 Jan 2024 18:20:16 GMT</pubDate>
            <atom:updated>2024-01-23T18:20:16.669Z</atom:updated>
            <content:encoded><![CDATA[<p>I got a CTF problem in pwn section with a .jar file. This was a jar file so I used an online jar file opener</p><p><a href="https://www.ezyzip.com/open-extract-jar-file.html">Open JAR Files Online (No limits!)</a></p><p>I got this files inside it and now I opened the first file asset.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ALQg5qU3OS8vs8WNF05WiA.png" /></figure><p>and I found the flag. Well maybe I had to read the main.class or something else but yeah I found the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*dbVxJApNX7a6RdNE9zg4SQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ff9aef17b6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spammimic Decode]]></title>
            <link>https://medium.com/@bikramsadhukhan505/spammimic-decode-5408e66a1863?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5408e66a1863</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctflearn]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Tue, 23 Jan 2024 18:12:36 GMT</pubDate>
            <atom:updated>2024-01-23T18:12:36.676Z</atom:updated>
            <content:encoded><![CDATA[<p>I was taking part in a CTF where I found the paragraph</p><blockquote>Dear Decision maker , We know you are interested in <br>receiving amazing info ! This is a one time mailing <br>there is no need to request removal if you won’t want <br>any more ! This mail is being sent in compliance with <br>Senate bill 1621 ; Title 5 , Section 309 . THIS IS <br>NOT MULTI-LEVEL MARKETING . Why work for somebody else <br>when you can become rich within 10 months ! Have you <br>ever noticed nobody is getting any younger &amp; people <br>are much more likely to BUY with a credit card than <br>cash . Well, now is your chance to capitalize on this <br>. WE will help YOU process your orders within seconds <br>&amp; decrease perceived waiting time by 200% . The best <br>thing about our system is that it is absolutely risk <br>free for you ! But don’t believe us . Mrs Anderson <br>of Arizona tried us and says “Now I’m rich, Rich, RICH” <br>! We are licensed to operate in all states . You have <br>no reason not to act now ! Sign up a friend and you’ll <br>get a discount of 20% ! Thank-you for your serious <br>consideration of our offer ! Dear Decision maker , <br>Your email address has been submitted to us indicating <br>your interest in our newsletter . If you no longer <br>wish to receive our publications simply reply with <br>a Subject: of “REMOVE” and you will immediately be <br>removed from our mailing list ! This mail is being <br>sent in compliance with Senate bill 1622 , Title 2 <br>; Section 308 . THIS IS NOT MULTI-LEVEL MARKETING . <br>Why work for somebody else when you can become rich <br>within 88 weeks ! Have you ever noticed most everyone <br>has a cellphone and more people than ever are surfing <br>the web ! Well, now is your chance to capitalize on <br>this . WE will help YOU turn your business into an <br>E-BUSINESS plus turn your business into an E-BUSINESS <br>! The best thing about our system is that it is absolutely <br>risk free for you . But don’t believe us . Mrs Simpson <br>who resides in Wyoming tried us and says “I was skeptical <br>but it worked for me” . We assure you that we operate <br>within all applicable laws ! If not for you then for <br>your LOVED ONES — act now ! Sign up a friend and your <br>friend will be rich too . Thank-you for your serious <br>consideration of our offer .</blockquote><p>I used Google and found out this is called spammimic decode so I used</p><p><a href="https://www.spammimic.com/decode.shtml">spammimic - decode</a></p><p>to decode it and I found the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*G1Jz-Oib2v8sIiENh6NRMA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5408e66a1863" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cyber Siege zCrypt CTF 2024]]></title>
            <link>https://medium.com/@bikramsadhukhan505/cyber-siege-zcrypt-ctf-2024-76b0e0168f28?source=rss-a54da72b9a9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/76b0e0168f28</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctflearn]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Bikram Sadhukhan]]></dc:creator>
            <pubDate>Sun, 14 Jan 2024 04:55:38 GMT</pubDate>
            <atom:updated>2024-01-14T04:55:39.675Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cryptography Part 1</h3><p>I was given a Python File</p><blockquote>from Crypto.Util.number import bytes_to_long, getPrime</blockquote><blockquote>flag = “[REDACTED]”</blockquote><blockquote>p = getPrime(1024)</blockquote><blockquote>q = getPrime(1024)</blockquote><blockquote>e = 65537</blockquote><blockquote>m = bytes_to_long(flag.encode(“utf-8”))</blockquote><blockquote>n = p * q</blockquote><blockquote>c = pow(m, e, n)</blockquote><blockquote>print(“p:” + str(p))</blockquote><blockquote>print(“q:” + str(q))</blockquote><blockquote>print(“e:” + str(e))</blockquote><blockquote>print(“c:” + str(c))</blockquote><p>and I had a .txt file with</p><blockquote>p:153347536321659595294190401684929647239564728647142635485067011838224721830323351468964981640061796405736182689381202606014376915214898505411882895661059403465719723468107466229949903989421289551657609517765242182086155246754639327840759499567332886532434817435606383067911373897904191343451599890749066683701<br>q:122636728301014343563865219198039744850170449419491517272210776093318045773141563229560976430363353195977859382067071074839571353263322486726915491151959208342084704297446978585973871244129965355515161183720230428786214070293612621062167258041966981124424236946344506525231231712112151396251864521686551808269<br>e:65537<br>c:1810731410756374583442602592207299022482544778104596215210370281618758926962557090270264791311174108103242522162983851935017716565896455886315261601393850522308768641059886266129428760469207324679541988008122830644883026288364759190392811652874577135473304650311757218463599132964865419438298475341762220376811157984457182447705172929833328465228960942166682667813896692569034796232744432283172958268111404880310720134918995713630176943859730705421884483536904055819241795322351332837539462732235994149077223191896427307565414704724477106789022094507414519572306537720983824975256032377375254143161845822756208779193</blockquote><p>So , I analyzed the python code and I understood that I have to write a Python Code with the value of p , q , e , c to decrypt the flag. So , I used to ChatGPT to write the code.</p><p>This is what it wrote :</p><blockquote>from Crypto.Util.number import bytes_to_long, long_to_bytes</blockquote><blockquote># Provided values</blockquote><blockquote>p = 153347536321659595294190401684929647239564728647142635485067011838224721830323351468964981640061796405736182689381202606014376915214898505411882895661059403465719723468107466229949903989421289551657609517765242182086155246754639327840759499567332886532434817435606383067911373897904191343451599890749066683701</blockquote><blockquote>q = 122636728301014343563865219198039744850170449419491517272210776093318045773141563229560976430363353195977859382067071074839571353263322486726915491151959208342084704297446978585973871244129965355515161183720230428786214070293612621062167258041966981124424236946344506525231231712112151396251864521686551808269</blockquote><blockquote>e = 65537</blockquote><blockquote>c = 1810731410756374583442602592207299022482544778104596215210370281618758926962557090270264791311174108103242522162983851935017716565896455886315261601393850522308768641059886266129428760469207324679541988008122830644883026288364759190392811652874577135473304650311757218463599132964865419438298475341762220376811157984457182447705172929833328465228960942166682667813896692569034796232744432283172958268111404880310720134918995713630176943859730705421884483536904055819241795322351332837539462732235994149077223191896427307565414704724477106789022094507414519572306537720983824975256032377375254143161845822756208779193</blockquote><blockquote># Calculate n and totient</blockquote><blockquote>n = p * q</blockquote><blockquote>totient = (p — 1) * (q — 1)</blockquote><blockquote># Calculate private exponent d</blockquote><blockquote>d = pow(e, -1, totient)</blockquote><blockquote># Decrypt the ciphertext</blockquote><blockquote>m = pow(c, d, n)</blockquote><blockquote># Convert the long integer back to bytes and decode</blockquote><blockquote>flag = long_to_bytes(m).decode(“utf-8”)</blockquote><blockquote>print(“Decrypted flag:”, flag)</blockquote><p>Once I run this file boom! I get the flag .</p><blockquote>python hh.py<br>Decrypted flag: zCrypt{G41aXY_Gu4rD!aN_RSA!!}</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76b0e0168f28" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>