BSides Cape Town“No touch” sensors, the COVID-friendly access control. You don’t touch them, they open. But from how far can you not touch them? Through a glass door perhaps? Join me on a hardware dissection and research journey to see how these things work, determine whether they’re vulnerable to attack, and hopefully defeat them.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber Security
Noooooooooo touch! - Michael Rodger | BSides Cape Town 2023BSides Cape Town2023-12-22 | “No touch” sensors, the COVID-friendly access control. You don’t touch them, they open. But from how far can you not touch them? Through a glass door perhaps? Join me on a hardware dissection and research journey to see how these things work, determine whether they’re vulnerable to attack, and hopefully defeat them.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecuritySpeedRunners: The Hackers of the Gaming World - Nunudzai MrewaBSides Cape Town2025-04-19 | Speedrunning, the art of completing games with incredible speed, has evolved into more than a gaming feat—it's a showcase of ingenuity, creativity, and technical prowess. This talk delves into the fascinating world of speedrunners, drawing parallels between their methodologies and those of cybersecurity professionals, while highlighting the significant impact on game development and software security.
In this talk, we'll dive into the fascinating world of speedrunners and uncover the parallels between their methodologies and the techniques used by cybersecurity professionals. We'll explore how speedrunners discover and exploit glitches in games through a combination of accident, experimentation, and deep code analysis - skills that mirror the vulnerability hunting process in software security.
By understanding the speedrunner's approach, we'll gain insights into the creative, persistent, and collaborative nature of finding and leveraging system vulnerabilities. This talk will not only fascinate gaming enthusiasts, but also illuminate the mindset of those who push the boundaries of what's possible in both the virtual and digital realms.
========================================================= About the speaker: Nunudzai Mrewa Cybersecurity professional with a knack for securing systems—and breaking them (ethically, of course). Python’s my sidekick for scripting, hacking, and the occasional fun experiment. I'm also a community organizer and public speaker
Thanks to our AV sponsor Tenable for making these recordings possible.Hacking the Airwaves: Beyond Relay Attacks! - Robin RoodtBSides Cape Town2025-04-15 | This talk will dive into the fundamental concepts of the radio frequency (RF) Relay attack and how it could be used to attack different type of systems that make use of radio communication. The Relay Attack allows an attacker to extend the intended range of communication between two devices, deceiving them into believing that they are in close proximity to one another to perform some type sensitive action, such as unlocking or starting cars, or making payments with PoS devices!
Introduction: An introduction of the talk and the topics that are going to be covered. A quick glance into my background and how I got interested in radio frequency hacking. Explaining that the talk is mostly going to be focused diving into the fundamental concepts of the Relay attack and then two demonstrations as to how it could be used to target two completely different systems, namely cars and PoS devices.
Concept of Relay Attack: This section is going to go through a conceptual explanation of what the relay attack is and how it is used to extend the intended range of communication between two devices, deceiving them into believing that they are in close proximity to one another to perform some sensitive action.
Using the Relay attack to unlock and start cars: This section will explain how the Relay attack could be used to target automotive keyless entry and keyless start systems on cars. This will include a brief explanation of how keyless entry and keyless start systems work, with security footage showing how criminals execute the attack to steal a victim's car while the key remains locked inside the house (Demo 1).
How far could you relay signals? Now that we understand the fundamentals of the Relay attack, we are going to perform the same attack, but in a different way to illustrate that this attack can be performed over great distances. We are going to attempt to relay signals from Cape Town all the way to Pretoria to unlock a car. An explanation will be given of how the signals are relayed from Cape Town to Pretoria, which will follow a demonstration of the actual proof-of-concept. In-case the proof of concept doesn't work due to the demo gods, we are going to show a video of the PoC working between Johannesburg and Pretoria. (Demo 2)
How does this work on other systems such as a PoS device? After going through the automotive security explanation, what would this look like on a different device such as a PoS device? This section will give an explanation of how the attack would work when targeting a PoS device's tap-to-pay to make payments over larger distances. The explanation, followed by a demonstration (Demo 3), is going to show that the PoS device doesn't actually have to be near the victim's credit card to make a payment. As long as the signals are correctly relayed, it could be done over any distance.
Closing remarks This section will be a quick recap of the topics covered during the talk, with a final reminder that this attack could be executed on anything that makes use of radio signals, such as access control system as well. A final note that I hope this talk has brought some insights to radio frequency hacking and raised some security awareness around the topic.
Takeaways Security awareness about the Relay attack and how it could be used on any device that makes use of radio communication.
======================================== About the speaker: Robin Roodt I'm a cyber security consultant at MWR CyberSec where my main focus is Application Security.
I started looking at radio signals in University where I got a lot of exposure while studying BEng Computer Engineering. Taking that knowledge to a security company, I thought to myself "What happens when we hack these signals flying through the air?". That kick-started my hobby where I immediately started hacking my mom's car! ========================================Attacking Pipelines: Large Scale Exploitation of Workflow Files - David, Rohan & AndreiBSides Cape Town2025-04-13 | In this talk, we present a tool designed to perform large-scale scanning of GitHub repositories to identify potential expression injection vulnerabilities within their workflow files. Our system efficiently scrapes repositories, concurrently pulling and analysing workflow configurations for insecure patterns. Through this mining process, we have discovered that expression injection vulnerabilities are surprisingly prevalent, even among popular projects, and often go unnoticed. We have reached out to affected vendors for remediation and hypothesis this prevalence attributed to a lack of in detection mechanisms and key documentation on GitHub’s end. Additionally, we found that even when vulnerabilities are patched, they can be easily reintroduced by interpolating sanitised values. Our findings underscore the need for better tooling and awareness around securing GitHub workflows. Finally, we make our tool available to open-source for both blue and red team security researchers to benefit from.
In this talk, we introduce a powerful tool that we developed for performing large-scale scanning of GitHub repositories, aimed at identifying expression injection vulnerabilities within workflow files. The motivation for this project arose from an incident where a client was exploited by a white-hat hacker who leveraged such a vulnerability to patch it through exploitation. This incident highlighted the prevalence and potential severity of expression injection in GitHub workflows, where attackers can inject malicious code through interpolated GitHub variables. This type of vulnerability can lead to the unauthorised exposure of sensitive information, such as the highly privileged GITHUB_TOKEN.
Our tool is designed to efficiently scrape repositories, interacting with the GitHub API to concurrently pull and analyse workflow configuration files. By parsing these YAML files and detecting insecure patterns, we were able to uncover a surprising prevalence of expression injection vulnerabilities across a wide range of repositories, including some of the most popular open-source projects. Through the process of continuous mining, our system adheres to GitHub's rate limits, allowing it to run in the background without overwhelming the platform.
A key aspect of our findings is that even when these vulnerabilities are patched, they are often reintroduced through seemingly benign changes, such as interpolating sanitized values back into workflows. This creates a cyclical security risk that many teams may not even realise. We observed that existing mitigations, such as restricting permissions for each step and cautiously using the env directive to safely insert GitHub variables, are not prioritised in the documentation and inadequately enforced in real-world projects.
Written entirely in Scala, our application serves as a robust scanner that not only parses and identifies risky patterns but, allows for an interactive review process of the findings. Through this ongoing effort, we hope to drive awareness around this often-overlooked class of security issues in CI/CD pipelines. Additionally, we have made this tool open-source, allowing both blue team (defensive) and red team (offensive) security researchers to benefit from it.
Key Takeaways:
Expression injection vulnerabilities in GitHub workflows are more common than previously thought, even in widely used repositories. Attackers can exploit this vulnerability to extract privileged data like the GITHUB_TOKEN, leading to further compromise. Patching vulnerabilities is not always enough—reintroductions of sanitised values can recreate the problem. Proper mitigations, such as limiting permissions and safely handling GitHub variables, require more comprehensive documentation and awareness. Our tool, written in Scala, interfaces with the GitHub API and is capable of continuous background mining while adhering to API rate limits. We are open-sourcing this tool to promote better security practices and aid both security researchers and developers in safeguarding their workflows.
Thanks to our AV Sponsor Tenable for making these recordings possible.Rite of Passage: My Journey from BSides Volunteer to Black Hat Asia AttendeeBSides Cape Town2025-03-26 | From volunteering at BSides Cape Town to being sponsored to attend Black Hat Asia, I’ll share my unexpected journey and the power of community involvement in shaping my career in cybersecurity. Through this talk, I aim to inspire students to take that first step into getting involved with the cybersecurity community.
In 2023, I volunteered at BSides Cape Town as a way to immerse myself in the cybersecurity community. What I didn’t anticipate was that my involvement would lead to an incredible opportunity: being selected for the Rite of Passage Initiative and getting sponsored to attend Black Hat Asia 2024. This talk will take attendees on a journey from my beginnings as a volunteer to attending one of the most prestigious cybersecurity conferences in the world. I’ll reflect on my personal experiences, the invaluable lessons I learned, and the connections I made, all of which have had a profound impact on my career and personal growth.
During the talk, I will cover:
Volunteering at BSides Cape Town 2023: How volunteering introduced me to the wider cybersecurity community, and why this experience was so transformative. The Rite of Passage Initiative: What this initiative is and how it provides opportunities for students passionate about cybersecurity. I’ll share my own experience of being selected and how that set the stage for my trip to Black Hat Asia. Black Hat Asia 2024: I’ll highlight key moments from my experience at the conference—everything from the talks I attended to the incredible people I met from across the globe. The Value of Community: I’ll dive into how community involvement—through volunteering and attending conferences—has been instrumental in my career growth. Whether it's learning new skills, networking with professionals, or simply gaining exposure to the global cybersecurity scene, I’ll emphasize the power of being part of a supportive community. Encouraging Students: The heart of this talk is to inspire students and young professionals to get involved in their local cybersecurity communities. I’ll share actionable advice on how they can volunteer, apply for scholarships, and make connections that could change the trajectory of their careers.
=========================================================== About the Speaker - Blessing Kashava
Blessing is a cybersecurity consultant by day and a community-builder by night. As a recent Information Security graduate, Blessing now works with BDO Zimbabwe, navigating the complex world of cybersecurity risks as a penetration tester. A passionate advocate for all things cyber, Blessing is the founder of the Evolve Cybersecurity Club, where students transform from curious learners to security-savvy professionals.
When not dissecting vulnerabilities, you can find Blessing volunteering at BSides conferences, picking locks (in Capture the Flag games, of course), or playing RPGs to save virtual worlds. A serial volunteer and two-time Black Hat Asia & USA 2024 student scholarship recipient, Blessing is always on a quest for new knowledge, community connections, and the next sitcom to binge-watch. ===========================================================
Thanks to our AV Sponsor Tenable for making these Recordings Possible!LOLGrid: Don’t bring your own network, one already exists - Brent ShawBSides Cape Town2025-03-25 | A fun look at network over powerline systems. The use and abuse of these solutions, what kind of attacks are possible, what are the limits, and how can you defend yourself?
Sometimes things just need to be looked at differently.
Ethernet over power lines (IEEE 1901, Powerline, PowerPlug, you might or might not know it under different names) has been around for quite some time. That being said, while maybe might have heard of it, it seems to be a technology that never took off.
The technology allows for Ethernet traffic to be routed over alternating current (AC) power lines. This can help avoid clumsy cabling in small flats, or remove the need for long cable runs, providing a neat alternative to running new Ethernet cables. It can also be viewed as an interesting attack vector.
While work has been done to stop different power line devices intercepting other devices traffic, allowing multiple networks to be hosted together, this leads to new problems when it comes to securing your own infrastructure.
The talk will do into some background on the tech (very briefly) to explain its intended purpose and use cases. We will then look at how it can be used as part of attacks/engagements. We will then look at how one can defend against this.
We will looks at some interesting things I discovered along the way.
========================================================= About the Speaker - Brent Shaw
I am a Cyber Security Researcher working for Nedbank. I'm a big fan of learning and pulling things apart. I have previously given talks on at BSides: "Securing the Industrial Internet of Things", "Hearing the Internet Background Radiation" and "Hashing the $#!+ out of firmware".
Thanks to our AV Sponsor Tenable for making these recordings possible.Dependable Red Teaming by using Confusion - Tinus GreenBSides Cape Town2025-03-24 | Dependency Confusion, a DevOps supply chain attack path discovered in 2021, hasn't really gotten the attention that it deserves. This is mainly due to a misunderstanding of how large the attack surface can be. In this talk, we will show how dependency confusion can be exploited to not just attack the pipeline, but covertly gain full access to PROD!
Dependency Confusion attacks leverage confusion that can be created in a package manager's approach to determining where libraries need to be installed from. Simply knowing the name of an internally-hosted package is sufficient for a threat actor to stage such an attack, which can trick a package manager to install a malicious version of the library from an external repository instead.
When this vulnerability was first discovered and published, the author was able to show how they infected companies such as the likes of Apple and Microsoft. However, since then, there hasn't been any real traction from the security community to include testing for this in their methodology. This is largely due to the difficulties in explaining the impact that such a vulnerability can have. A key argument made against the vulnerability's impact is that the risk is mitigated since proper CI/CD pipelines make use of ephemeral build agents meaning the threat actor's package would not have the relevant code to pass unit tests. Thus a compromise here would not really amount to anything serious.
This got us thinking. What if we could weaponise dependency confusion not to compromise a developer installing package or the build agent, but to actually compromise production? Turns out, this is possible and actually not that hard to achieve! This brings a whole new dynamic for red teams looking to deploy a near-silent but incredibly potent backdoor.
This talk will be beginner friendly by covering what dependency confusion is but then take it further to show in a live network how dependency confusion can be weaponised to blast its way past both the build and deploy stages and into production, providing a fun new breach to goal execution shortcut for red teams!
The talk overview is as follows: Introduction to dependency confusion Why the security community overlooks dependency confusion Reevaluating the threat of dependency confusion Weaponising dependency confusion Mitigation strategies and best practice to prevent and detect dependency confusion
Takeaways: Those attending this talk will better understand the true impact that dependency confusion can have and how its discovery can be weaponised to showcase this true impact. Equipped with this knowledge, attendees will be able to supplement their testing methodologies and understand how to better protect their organisations from this attack vector.
======================================================= About the Speaker: Tinus Green
I am the Head of Consultancy at MWR and have a passion for deeply understanding how things work, taking them apart, and sometimes being able to put them back together. =======================================================
Thanks to our AV Sponsor Tenable for making these recordings possible.Unmasking the Digital Shadows: OSINT Techniques for Cybersecurity Professionals - Sharon KnowlesBSides Cape Town2025-03-23 | The cyber threat landscape is becoming increasingly complex and sophisticated. Cybersecurity professionals are constantly challenged to stay ahead of attackers who exploit the anonymity of the internet to carry out malicious activities. Open Source Intelligence (OSINT) has emerged as a powerful tool in the cybersecurity arsenal, enabling professionals to uncover hidden threats, track malicious actors, and safeguard sensitive information.
Objective: The primary objective of this keynote is to equip cybersecurity professionals with the basic OSINT techniques that can be used to enhance their threat detection, investigation, and mitigation capabilities. Attendees will gain insights into how OSINT can be leveraged to unmask digital shadows—those elusive and often hidden elements of the cyber world that pose significant risks to organisations and individuals alike.
Key Takeaways: 1. Understanding the Power of OSINT: o Explore the evolution of OSINT and its growing significance in cybersecurity. o Learn about the different types of OSINT sources and tools available to cybersecurity professionals. o Understand how OSINT can complement traditional cybersecurity measures. 2. Advanced OSINT Techniques for Cyber Threat Intelligence: o Discover innovative methods to gather and analyse OSINT data for threat intelligence. o Learn how to trace the digital footprints of cybercriminals and identify patterns in their activities. o Explore case studies that demonstrate the successful application of OSINT in uncovering and mitigating cyber threats.
Unmasking Anonymity: Techniques to Identify Hidden Actors: o Delve into techniques for de-anonymising online identities and uncovering the real personas behind cyber activities. o Understand the role of OSINT in tracking down and profiling threat actors, from lone hackers to organised cybercrime groups. o Learn how to use OSINT to uncover connections between seemingly unrelated cyber incidents. Legal and Ethical Considerations in OSINT: o Explore the legal frameworks governing the use of OSINT in cybersecurity. o Discuss ethical dilemmas and best practices for conducting OSINT investigations responsibly. o Understand the importance of balancing privacy concerns with the need for robust cybersecurity measures. Future Trends in OSINT and Cybersecurity: o Gain insights into emerging trends and technologies that will shape the future of OSINT in cybersecurity. o Explore how AI and machine learning are revolutionizing OSINT techniques. o Discuss the potential challenges and opportunities that lie ahead for cybersecurity professionals in the OSINT domain. Conclusion: This keynote will empower cybersecurity professionals with the knowledge and skills to effectively utilise OSINT in their daily work. By unmasking the digital shadows, they will be better equipped to protect their organisations, clients, and the wider digital ecosystem from the ever-evolving threats posed by cyber adversaries.
Target Audience: This keynote is designed for cybersecurity professionals, including threat analysts, investigators, incident responders, and security operations centre (SOC) teams, who are looking to enhance their skill sets with advanced OSINT techniques
=========================================================== About the speaker: Sharon Knowles
Sharon Knowles, a seasoned cybersecurity professional, OSINT investigator, and keynote speaker with extensive experience in cyber threat intelligence and digital forensics. As the CEO of Da Vinci Forensics, Sharon Knowles has been at the forefront of cybersecurity business innovation and has a proven track record in assisting organisations with their cybersecurity posture. Sharon is a certified Cybercrime investigator,Certified Cybercrime Intelligence Analyst and Certified Cryptocurrency investigator. When Sharon retires it will be to a farm with donkeys, horses and goats where she will film them and make social media videos for everyone.
Thanks to our AV sponsor Tenable for making these recordings possible.Breaking the Barrier: Exploring modern WAFs - Ethan HavingaBSides Cape Town2025-03-22 | In an era where web threats evolve as quickly as the technologies we deploy, the temptation to rely on Web Application Firewalls (WAFs) to mitigate holes in a web application's security is high. But how effective are these digital shields? Could they be more prone to error than we think? This talk will uncover the gaps within our WAF defenses, examining a variety of WAF bypass techniques, both complex and simple. By showcasing these potential weaknesses, we can get a better understanding of the state of modern WAFs so that teams know what to expect when choosing to fall back on WAFs for "protection".
Introduction: The introduction will start with a brief overview of my background and experience in cybersecurity, setting the stage for the discussion to come by giving a high-level overview of Web Application Firewalls. During the WAF overview, the talk will focus on why WAFs don't remediate security vulnerabilities and instead mitigate them. I will give some well known examples and set out the expectation that WAFs are generally expected to cover the OWASP Top 10.
Understanding WAFs: In this section, I will introduce the audience to the fundamental aspects of Web Application Firewalls (WAFs), by exploring their architecture and the roles they play in protecting web applications and simply what makes a WAF a WAF. We will discuss how the WAFs are designed to filter and monitor HTTP traffic between a web application and the internet. By understanding the general purpose of WAFs and where we usually find them, we can see how they fit into a broader security environment. I will also go into some security overlaps that exist when choosing a WAF not developed with an organisation's custom implementations (eg: Custom Cryptography, Custom Querying Syntax) in mind, and how this can defeat the purpose of having a WAF.
WAFs In Modern Times: It is essential to understand what makes a modern WAF and the key features and improvements that set apart older WAFs from modern ones. I will run through what modern WAFs are expected to cover in contrast to what older and deprecated WAFs cover. We will look at the historical development of WAFs and what evolution WAFs have gone through to get to where they are today. I will also briefly highlight the great value of having a WAF be open-source and the developmental benefits that unlocks through community-driven development.
The Good: To start off we will focus on what WAF's generally do well and what expectations we can have for them. We see how WAFs react when given payloads from some common vulnerabilities listed in the OWASP Top 10 and give a high-level overview of how specific payloads are detected. The discussion will include points about what parts of the payload are detected and because of this the audience will better understand why we obfuscate the parts of payloads that we do, in order to get a working bypass.
The Oopsies: In contrast to the above section we will focus on modifying the payloads attempted in the previous section, based on the aspects of a payload that were detected. Furthermore we will look at exactly what changes were made to payloads and why those payloads might have worked. This leads to a better understanding as to how bypasses are developed and gives a rough methodology that we can follow when approaching the creation of WAF bypasses.
Learning from Bypasses: This section will focus on how we can learn from the bypasses discussed in the previous section and expand on the rough methodology in order to transform it into a more concrete methodology that we can practically use. The methodology will focus on 3 aspects: - Identify -- the specific keywords blocked by a WAF - Obfuscate -- the keywords in various manners - Test -- the obfuscated payloads
In Denial: It is also necessary for us to talk about how WAFs are used to mitigate vulnerabilities and why this has the potential to create an illusion of security. This will also highlight the importance of root cause remediations in place of WAFs while still acknowledging the improvement to the overall security posture of a web application that a WAF can provide.
=========================================================== About the speaker: Ethan Havinga
My name is Ethan Havinga, I recently finished high school and was lucky enough to join an internship at MWR CyberSec where I now work fulltime as a Cybersecurity Consultant with a focus in the web application security space.
I enjoy delving deep into obscure and often overlooked topics, I find that you often find the coolest things in the topics people tend to miss. In my free time I am somewhat of a reader, and enjoy the odd book on historical texts specifically that of religious philosophy.
Thanks to our AV sponsor Tenable for making these recordings possible.Going Beyond your own Barriers - Roberto AricoBSides Cape Town2025-03-03 | How do you recognise your own barriers and things that are holding you back? And more importantly, once you know those barriers, how are you able to overcome them?
For my talk, I'd like to identify the most common things people face when trying to progress. I have helped and coached many people, and want to share what I have seen and learnt to a wider audience. My talk will include: - Barriers to getting into Cyber - where to start? - Barriers related to Job Posts/Spec - Unreasonable expectations - Are certifications a Barrier/Are certifications needed upfront? - Human barriers, such as neuro diversity and imposter syndrome - Emotional Barriers - Are your emotions keeping you back - Skills barrier (related to certifications above)
And while discussing this, will be providing some experiences I have had and tips and tricks from talking to people and coaching others in this industry.
These are all subjects I am passionate about and things that I would like to pass on to the next generation of hackers. This talk isn't aimed at those who are established, but for the students and newcomers to BSides who may be wondering how to make the next career move.
=========================================================== About the speaker: Roberto Arico
Just a guy who likes talking about Cybersecurity and believes in helping others and building a strong cyber tribe. ==========================================================
Thanks to our AV sponsor Tenable for making these recordings possible.Find and fix Vulnerabilities within open source projects - CallianBSides Cape Town2025-03-02 | It's actually pretty easy to find and fix vulnerabilities within open-source projects. With the right tools and techniques, identifying security flaws and patching them can be a straightforward process.
In this talk, we’ll explore practical methods to detect vulnerabilities, from automated scanning to manual code review, and guide you through the steps to address them effectively.
Whether you’re a seasoned developer or new to open source, you’ll learn how to contribute to making projects more secure.
Let's commit to securing open-source code—starting today, with your next pull request!
In this talk, I will provide a brief but comprehensive introduction on how to find and fix vulnerabilities in open-source projects.
We'll explore not only the techniques for identifying and addressing security flaws but also how anyone—regardless of experience—can contribute to improving open-source software.
Whether you're scanning for vulnerabilities, submitting patches, or helping with code reviews, you'll discover practical ways to get involved and make a meaningful impact in the open-source community.
======================================================= About the speaker: I'm Callian, also known as Kallie, a dedicated DevSecOps Engineer with a development background and are passionate about application security.
My journey is fueled by an enduring curiosity and a passion for embracing new challenges that foster both personal and professional growth.
As the leader of the DevSecCon Cape Town Community, I assist in bringing together developers, operations teams, and security practitioners to collaborate, share knowledge, and shape the future of secure development
Thanks to our AV sponsor Tenable for making these recordings possible.Attacking GraphQL: A guide for penetration testers - Keith MakanBSides Cape Town2025-02-28 | Whats GraphQL? How do pwn it? And what do I write in my pentest report if I get this in a test? If these questions get your heart racing, fret not, this stalk is for you!
GraphQL is at minimum, yet another API technology your company can get horribly wrong. The technology has grown considerably has an API interface technology in the last few years. With the growing interest, security engineering has been a keen focus for deployments because the technology is new, promises a lot (i.e. strict data typing, query batching and nesting, rapid adaptability etc.) and may not deliver the same impact in all environments or use cases. Futhermore, in the contemporary landscape there are a number of services, and open source projects that make this accessible each with their own set of complexities and pitfalls. With all these new fangled environments, a novel query language, and wildly variable backends, pentesters and security engineers need a good overview in order to navigate a security assessment or deployment. The talk here aims to provide guidance to pentesters in navigating these environments, using the open source and free tooling on offer and delivering a good quality penetration test against GraphQL environments.
GraphQL was released and developed at Facebook just under 10 years ago, but has only really seen a surge in public interest over the latest 5 years of its life. Being adopted by the likes of Amazon AWS, Microsoft and IBM as well as many more big names. GraphQL grew rapidly due to its proactive approach to many problematic aspects of API deployment and design, namely: Data typing, Query formatting, Data Source independence and many others.
Although providing a myriad of technological improvements deployments still suffer from common vulnerabilities and misconfigurations. Whats more beyond the vulnerabilities which stem from common misconfigurations, many security problems also source from complex integrations between traditional API tech (like REST, SOAP etc). In an effort to help users be aware of these problems the talk here will walk through many of the scenarios that may introduce vulnerability as well as ways they can avoid incurring more risk.
In this talk, the speaker will talk through: (i) The recent history of GraphQL, its adoption rate, the innovations and APIs that currently make use of this tech. (ii) Common GraphQL setups and projects (what to expect in the wild) (iii) How to threat model a GraphQL deployment, where to expect things to go wrong. (iv) A detailed enumeration of common issues like Query batching, nesting, incorrect usage of the typing system and other problems - some of which will be supported by real world examples. (v) Exploitation patterns and tools that will enhance a penetration testers ability to assess and exploit vulnerabilities mentioned in the talk.
Thanks to our AV sponsor Tenable for making these recordings possible.AI in OSINT - Zero snake oil - Roelof TemminghBSides Cape Town2025-02-27 | In this blink-and-you'll-miss-it talk we cut all the introductions and waffle and, just like this abstract, get straight to the point :) Can we use AI in OSINT? Spoiler - yes and its pretty magical. We'll show, on screen, how AI helped solved real(ish) world cases. That's it.
In the talk, I'll demo how we've build software that uses RAG AI to create an assistant that you can query about (deep, eg post authentication) web pages. I will show how the software works and then I will show results that were interesting.
I'll end the talk with my predictions on how AI will impact OSINT in the near future.
=========================================================== About the Speaker: Roelof Temmingh Urgh, bios. Three things you don't know about me - 1) I wrote super emo poetry in the late 90s and an industrial/metal band used it as lyrics on one of their songs. 2) I have a real NSA challenge coin 3) I drove a yellow VW beetle in 1992.
Thanks to our AV sponsor Tenable for making these recordings possible.DevOps or DevOops? Securing a Pipeline Without Losing Your Mind - Jonathon EverattBSides Cape Town2025-02-21 | This talk will follow a light-hearted take on the mistakes and solutions I had while setting up a Gitlab to Jenkins to Tomcat CICD pipeline this year. Many of the configurations were insecure by default and when approached a mentality of "Make it work" it just compounds the issue. The talk will go through each stage of the pipeline, the issues I found, the issues I caused and the solutions for both.
Introduction:
The introduction will paint a background of how this talk came about and the components in the pipeline. The idea is that Source Code from Gitlab sends a webhook on merge to Jenkins. Jenkins then pulls the code and builds it, then deploys it to the Tomcat web server. Tomcat itself is hosted on localhost port 8080 which is served to the internet using an NGINX reverse proxy. If that sounds like a whole lot of technical gibberish, don't worry we'll understand it by the end of the talk.
Gitlab:
Gitlab is a source code repository on Linux, much like GitHub it can store your code and your code changes. However, by default it has a few problems. For example anyone can register on the application. We'll look into some of these common problems as well as common mistakes that I made while configuring a repository. Even though Jenkins is only meant to be exposed internally, that doesn't mean that everyone internally should see your typos in your commit messages.
Some of the misconfigurations I made included the creation of a public repo, being able to create and accept my own merge requests and allowing developers to see information. So by the time I had a working pipeline, anyone with access could compromise each host in the pipeline.
Jenkins:
Jenkins is a automation server which in my pipeline is used to build and deploy code from Gitlab to web servers (in the case of this example). It is basically RCE as a feature with a few added security issues on top. One of my favourites was creating a webhook that had my Jenkins Admin creds in it. We'll look at what attack paths exist in Jenkins and against Jenkins and build it back to the access an might have have with Gitlab.
Apart from embedding my credentials into a webhook I also had to work out ways to move code from the build agent to the web server. This started with some very bad ideas, like python simple server, and ended up with ssh.
Deployments:
Finally with deployments, I'll give a brief overview of the pain I experienced with trying to get Tomcat working in the first place, but then we'll go through some attacks that work and are fairly under the radar if you can deploy malicious code to production. We will also tackle the problem of how you block client-side code from calling out to a specific domain.
Some interesting things here is that any Javascript I've written for key logging, information stealing, and the works are never detected by any controls. Especially with attacks like dependency confusion attacks: How do you block a domain client-side if you can't necessarily remove the malware yourself?
Conclusions:
For the conclusions we'll take a look at where the network started, and the amount of issues it had (Security and others). Then compare it to where the network ended and how non-intuitive the fixes were. To end off, the attacks will be mapped back to a DevOps pipeline to see what type of risks each stage of the pipeline could introduce. ================================================================================= About the Speaker: Jonathon Everatt
I'm a technically inclined ocean enthusiast who looks forward to the day I can play video games on my surfboard. And then probably also try hack said surfboard. =================================================================================
Thanks to our AV sponsor Tenable for making these recordings possible.Ignorantia Juris Non Excusat - Understanding the Impact of the Law on the SA Hacker CommunityBSides Cape Town2025-02-18 | Many cybersecurity researchers and ethical hackers are becoming the target of criminal prosecutions and litigation, essentially for trying to do the right thing, and acting in an ethical manner. The reality is that cybersecurity researchers, practitioners and ethical hackers do run the risk of running afoul of both criminal and civil law in South Africa. This talk will explore the various laws and legal actions that could impact on them, and how to work within the framework of the law in South Africa, and essentially keep them safe from legal harm.
The talk will cover the various activities that cybersecurity researchers, practitioners and ethical hackers undertake, and explore the various legal issues that may impact on these activities. The focus of the talk is to educate the community of how our actions can inadvertently break the law or leave us open to litigation, simply for trying to make the world a safer place.
The talk will start with an introduction highlighting some case studies from around the world and then looking at the South African situation and how we expose ourselves to risks.
I will then look at the various statutes, common law offences, and civil causes of action that can be used against us and the consequences of these. I will discuss the aspects of these in way will be understandable to a technical audience using practical examples.
I will then discuss ways in which we can perform our activities in a manner that will insulate us from legal action in both the criminal and civil sphere, as well as what to do if we ever find ourselves on the wrong side of the law for doing something ethical.
One thing that I will also discuss is the upcoming Cybersecurity Bill that the SA Government is pushing forward. ================================================================================= About the Speaker: Jason Jordaan Jason Jordaan is leading digital forensics, incident response, and cybercrime investigation specialist. He has been acknowledged in as an expert witness in the High Court of South Africa. He began his digital forensics career in the early days of the development of the digital forensics discipline when he combined his love for computers and technology with his role as a police detective. He served as a detective with the South African Police Service Commercial Branch, before moving to the Special Investigating Unit, where he established their digital forensics laboratory. In 2014, after being instrumental in multiple high-profile investigations over 23 years of service, he resigned from his position as National Head of Cyberforensics to establish DFIRLABS. As the founder and Principal Forensic Analyst of DFIRLABS, Jason leads the practice, and continues to conduct high-level digital forensics engagements throughout the globe.
Jason is also an active academic, researcher, author, speaker, advisor, and trainer. He is a member of the faculty of the SANS Technology Institute. He teaches digital forensics, and is a course author, for the SANS Institute, and has taught digital forensics to some of the leading law enforcement agencies, intelligence services, and military units in the world, including the FBI, US Secret Service, London Metropolitan Police, UK National Crime Agency, US Special Operations Command, Australian Air Force, the German Army, and more. He is actively involved in mentoring law enforcement digital forensic practitioners as a member of IACIS. His author has been published in several peer reviewed journals, with his recent research focusing on quality assurance in digital forensics. Jason is also a co-author and contributing author to several books. He is a member of the Advisory Board for the University of Pretoria, the SANS Institute, and served as an advisor to the South African Deputy Minister of Justice for the development of the South African Cyber Crime Act. Jason is also an assessor for the Netherlands Register of Court Experts, where he is responsible for assessing the competence of digital forensic experts for the purposes of testifying in Dutch criminal trials.
Jason holds a MSc degree in Computer Science (Cum Laude), a MTech degree in Forensic Investigation, a BComHons degree in Information Systems, a BSc degree in Criminal Justice Computer Science (Summa Cum Laude), and a BTech degree in Policing. He is a member of several professional bodies and hold the following certifications and post-nominals: CFCE, CFE, MCSFS, PMIITPSA, FP (SA), and M.INST.D(SA). He also holds the following GIAC certifications: GBFA, GCFE, GCFA, GCIH, and GCCC.
================================================================================ Thanks to our AV sponsor Tenable for making these recordings possible.Zen and the Art of Cognitive Defense: Zero-Trust Mindsets and Cyber-Mindfulness - Anna & ChristineBSides Cape Town2025-02-17 | This talk will delve into the critical findings from the speaker's Cyber psychology Master’s research thesis, exploring the human susceptibility factors to social engineering and deception. It will touch on how scientifically evidenced mindfulness practices can effectively 'patch' many (23 out of 33) of these human vulnerabilities. Additionally, we will share practical insights from a 1.5-year journey into implementing a cyber mindfulness campaign at Nedbank.
I previously wrote about how I failed a phishing simulation test during an Uber ride and how this led me to research human susceptibility factors to social engineering and cyber-mindfulness. I wanted to dig into the real reason why I clicked on a phishing email as a security person with 22+ years of experience in cybersecurity. (By the way, the Uber incident was not the only phishing test I failed - there were quite a few more examples). My theory back then was that it wasn't my lack of skills that made me click, but rather a distracted and multi-tasking state of mind. And some initial research confirmed this theory. Motivated by these findings, I decided to make this question the focus of my research thesis for my Cyberpsychology Master's program. The talk will provide the key highlights from the thesis, such as: 1. Findings from the literature review to identify factors contributing to susceptibility to phishing and SE. Factors found were classified into cognitive, behavioural, psychological, situational, and demographic categories 2. these were then mapped against validated benefits of mindfulness—such as improved attentional control, enhanced meta-awareness, reduced stress, and emotional regulation. 3. Existing literature covering mindfulness in cybersecurity specifically confirmed that participants who underwent mindfulness training were better in detecting phishing attempts compared to control groups, indicating a clear link between mindfulness practices and reduced susceptibility to SE tactics.
Through interviews with 20 experts in cybersecurity and mindfulness and using inductive qualitative analysis, themes and categories related to the integration of mindfulness in cybersecurity awareness programmes and general organisational settings were identified. While the interviews confirmed many of the theoretical benefits, they also uncovered significant challenges, such as resistance from employees to terminology, ensuring consistent adoption, difficulties in communication and quantifying the effectiveness. Based on the findings, I recommend a companywide culture shift to one that favours deliberation over immediacy and one that integrates mindfulness into the broader organisational and cybersecurity agenda. Lastly we will also share some real-world examples of organisations that have embraced this concept, such as Nedbank. ================================================================================ About the speaker: Anna Collard
Anna Collard is the SVP of Content Strategy and Evangelist for KnowBe4 Africa. She founded Popcorn Training, acquired by KnowBe4 in 2018, and holds a Master of Science in Cyber Psychology, alongside various security certifications such as CISSP, CISA, CIPP/IT, ISO 27k and PCI DSS QSA. Recognized among the Top 20 Women in Cyber (2024), she also won the Global Cybersecurity Women of the Year Award (2023). Anna is a member of the World Economic Forum’s Global Future Councils and co-founded the MiDO Cyber Academy Programme, focusing on closing the cyber skills gap in underserved communities
About the speaker: Christine Gordon-Bennett Christine Gordon-Bennett is a passionate, creative, energetic and enthusiastic cyber security awareness expert currently working in the CISO Office at Nedbank. She has a passion for helping people understand the value of safe cyber security practices and educating them on human behavioural changes to avoid being the target in a cyber-attack at work, and in their personal lives.
Christine has thoroughly enjoyed developing and implementing a comprehensive security awareness programme at Nedbank over the past 8 years. Cyberpsychology, understanding human behaviour and the role mindfulness plays in securing organisations and the community is a topic she is deeply passionate about. Christine is Project Management Professional (PMP) certified and holds her Security Awareness Professional (SSAP) certification through the SANS Institute.
================================================================================ Thanks to our AV sponsor Tenable for making these recordings possible.Opening Address - BSides Cape Town 2024BSides Cape Town2025-02-16 | This opening talk covers key event details, including logistics, activities, prizes, and sponsors.
Thanks to our AV sponsor Tenable for making these recordings possible.Prize Giving & Closing Address | BSides Cape Town 2023BSides Cape Town2023-12-23 | Prize giving of the various CTFs and scavenger hunt as well as the closing address to thank sponsors, volunteers, organizers and everyone else that contributed to make the conference a success.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecuritySecuring A Derivatives Platform With Over $25b Volume - Kyle Riley | BSides Cape Town 2023BSides Cape Town2023-12-22 | How would you approach exploiting a derivatives market? We’ll explore how we secured a perpetuals market averaging north of $100m in daily volume. It’ll be a technical deep dive beyond traditional pentesting concerns, focusing on abusing game theory and economic models for profit. In the high-stakes world of smart contracts, a single overlooked flaw could result in an instantaneous multi-million dollar loss.
The talk will be based on experience gained through security reviews iosiro has performed of Synthetix’s Perpetual markets. The code, infrastructure, and assessment results are all public, so we can give deep insights into our learnings. The basic structure of the talk can be split into four sections. The first three sections are intended to provide attendees with the requisite context to engage with the security considerations in the final section.
Takeaways: Gain knowledge about derivatives and perpetual markets. Learn about the weird and wonderful attacks against these systems, along with the countermeasures implemented to protect against them. See how one of the most popular DeFi / crypto applications works. Develop an understanding of how to approach threat modeling smart contracts without needing any background in blockchain fundamentals. See the difference between how a pentester and smart contract auditor might approach an assessment of this nature.
Notes: The system is built for web3, but the talk will be more focused on the attack surface of a fully white-box financial application. Most of the blockchain-specific behavior will be abstracted away as many attacks could apply to traditional financial systems. This approach allows attendees to interact with a commonly used crypto product and understand threat modeling in the field, without understanding blockchain fundamentals like smart contracts and Solidity. We are the sole security consultants working on this system and have reviewed several implementations over a few years. We have a comprehensive understanding of its inner workings and its threat model. The system in question comprises a set of smart contracts deployed to Optimism, an Ethereum Layer-2 network. A front-end for the current deployment of the perps market can be found here: https://kwenta.eth.limo/dashboard/markets/ Stats of the perps market can be found at: dune.com/synthquest/synthetix-perps-v2
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber Security2023 Year in Review: Threads of nation-state dystopia - Jared Naude | BSides Cape Town 2023BSides Cape Town2023-12-21 | Looking back at past events is crucial for gaining insight into past mistakes and making informed decisions about the future. 2023 had a lot of nation-state shenanigans from ransomware response to disingenuous laws that are being proposed. In this talk, we look back at the major cyber security events over the past year and what we can learn from them.
Retrospectives are a great tool to look back at past events to understand what went right and what went wrong. In doing so, we can identify lessons that can be learned and what needs to be improved.
This talk will be focused on analyzing the major cyber security events of the past year along with insight, analysis, and commentary on what it means for the wider cybersecurity community. 2023 saw a massive shift in the strategy and playbooks of state sponsored actors in targeting, tactics, and methods.
In this talk, we will discuss the impact and significance in the shift of nation-state activity while looking at events of the past year, even if they are not nation state related. Some of the topics and events that will be covered in this talk include the following: The 10 Year Snowden Anniversary, dangerous EU laws and Chinese Cyber Operations.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityLPE in enterprise software - Reino Mostert | BSides Cape Town 2023BSides Cape Town2023-12-21 | I found a local privilege escalation bug in a popular enterprise teleconferencing software on Windows, and would like to share my journey, and the technique I discovered that prevented Defender from blocking the exploitation of it.
Recently, I was given the task to obtain NT AUTHORITY\SYSTEM on an enterprise laptop, from a low-privileged employee account. While it may sound easy, on a fully patched Windows system it’s often hard, so much so that Zerodium will give you $80K for a general Windows LPE. Luckly, I didn’t need to exploit Windows itself - the system came installed with some enterprise software. It had a telecoms app that had a checkered past - various researchers had found privilege escalation bugs in previous versions of it and posted blogs and POCs about it. The system was running the latest version of the telecoms app, whom the prior researchers had given the clean bill of health. After several days playing with procmon and Ghidra, I found a way to exploit the upgrade functionality of the software, so that I could change the permissions of any file on the Windows system. This would allow an attacker to overwrite any binary file they know will be executed at some point as SYSTEM with a malicious binary of their choosing, allowing them to obtain SYSTEM privileges. The exploit made use of Windows symlinks, using several of the techniques James Forshaw had initially disclosed. For instance, James disclosed a technique in which an unprivileged user on a Windows system could make a symlink, using the Windows object manager. Unfortunately, Windows Defender these days block the use and creation of these symlinks, under the banner of malicious behavior. After some more coffee and time, I found a way to exploit the telecom software which would not be blocked by Defender, by replacing the James Forshaw style symlinks with a chain of directory junctions that would, at some point in time, change where they pointed towards. This technique will be useful for attackers searching for new LPE bugs in the future. To wrap it all up, I found a way to start an executable file of the telecom app as SYSTEM. This meant I could run the exploit to change the permissions of this binary, replace it with my own malicious one, and then invoke it to run as SYSTEM.
Key takeaways: • How symlink based LPE work • How to make use of directory junction technique
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityHack South: Home of the ubiquitous South - Charles AngusRed Wroth | BSides Cape Town 2023BSides Cape Town2023-12-20 | Hack South has become a staple of the ZA Hacker community. Hack South has come a long way since lockdown, but what does the future hold, and where can you get involved?
This talk will cover the following: It will briefly talk about the path and history of Hack South, and what inspired it, along with its transition over to Discord. We will highlight a few fond memories, then talk about where it is today.
From there we want to talk about some plans/ideas for the future, that being achievable and tangible. This includes content, monitization without exclusivity. Company partnership. Security Research. Office Hours and collective proposals and voting on direction. Training. Transparency. Hack South Core. Swag.
I then want to cover the big part. What we need from the community. We all share ideas, concepts, nice to haves, but what do we trully need, how can you get involved, and how can we make Hack South a community of hackers, into a community for change.
The idea is, after this talk we would like to have an open forum, somewhere on site, to talk through ideas. Talk action, and see some hands go up to take ownership.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityPerformance Hacking - how to hack your tools to go faster - singe | BSides Cape Town 2023BSides Cape Town2023-12-20 | Rust, hacking, and password cracking - how I built a password cracker faster than hashcat on CPU, but also a large file reading approach faster than ripgrep.
Rust, hacking and password cracking. All things I love dearly. But when an obsessive hacker wants to crack passwords efficiently, sometimes you can reach speeds faster than hashcat can produce on CPU! Efficient hash cracking is about performance, and performance is about understanding computers.
The most common approach for more speed is to just throw more hardware at the problem, but in this talk, motivated by getting a new laptop with a new architecture, I will show how similar, if not better password cracking speeds can be achieved with just a little computer science.
I'll discuss the many problems I had in my goal and the many interesting performance related lessons I learnt which ultimately resulted in me discovering a new way to dramatically speedup file reads on multicore systems.The cyber-pirates guide to C2 development - Gerhard Botha | BSides Cape Town 2023BSides Cape Town2023-12-19 | A beginner-friendly and somewhat technical talk about C2 development. It will go over the basics of what is a C2, why, and where you might want to use it. Then we'll dive into the madness behind developing one!
The breakdown of the talk: Overview of a C2. This section will cover the fundamentals of what a C2 is and why/where it's used.
Difference between a server and a framework. Dissecting the difference between a server and framework, then the usages, pro's, and cons of each will be discussed.
Framework architecture overview – client, server, beacon. The different pieces that need to fit together to make up a framework, along with the considerations one needs to make before getting started. Usability vs performance, Gui vs Cli, purple teaming vs stealth ops, languages to use, etc.
Designing your framework – How I designed mine. This will cover some practical examples and design choices that went into mine. This will cover the project layout and how I designed my beacon.
Dev to beyond and considerations. What you will need to keep in mind before releasing your project and some opsec tips not to burn you malware before you get to use it on live environments.
Lessons learned and experienced. Some lessons and advice that will hopefully carry you through this project.
Project examples to check out. Projects I use as "motivation" when designing and coding my project. And hopefully, you can use them too!
Cool courses to get you started. More information for you to get started, but you want a guiding hand to help you out with the concepts and get you familiar with a programming language.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityLet the Children play - Leveraging ADCS for persistence in Parent-Child configured forestsBSides Cape Town2023-12-19 | Let the Children play - Leveraging AD CS for persistence and profit in Parent-Child configured forests - Tinus Green
In 2021, Active Directory Certificate Services came under scrutiny because of the opportunities it provides attackers for credential theft, domain escalation, and persistence. It has become a household name for red and blue teams. This talk will cover new discoveries from two perspectives:
Lateral Movement - Noisy compromises of the Parent domain to get to other Child domains are a thing of the past Cross-Domain Escalation - A newly discovered default permission misconfiguration allowing forest-wide persistence from any Child domain
1. Introduction An introduction to the basic concepts of Active Directory Certificate Services will be given. Terminologies such as Kerberos, PKINIT, SCHANNEL, and CSR will be covered. Background information on AD CS exploitation up to this point will be given. Reference will be made to the initial research performed by SpecterOps [1] and some interesting new vulnerabilities, such as CVE-2022-26923 [2], that were discovered afterwards.
2.The Potency of AD CS exploitation A refresh demonstration [Demo 1] will be performed to show how AD CS can be leveraged for privilege escalation. The demo will focus primarily on exploiting ESC1 [3] to construct a certificate that can be used to either generate a Kerberos ticket via PKINIT or authenticate to LDAP via SCHANNEL authentication. The goal of this demonstration is to show how easy it is to perform the privilege escalation attack and how the attacker OpSec around the attack path is different, since conventional username and password credentials are not used.
3. Conventional Cross-Domain Lateral Movement Techniques Before diving into new cross-domain lateral movement techniques leveraging AD CS, a demonstration will be given on the conventional methods [Demo 2]. Conventionally, we had to rely on performing a golden ticket attack to compromise the Parent domain, which then allows full access to all Child domains. While the attack path has been proven to work, it provides several opportunities for detection that are well-known by now, which means that the chance of any of these actions being detected during a red team is significant.
4. Understanding the E in ECA To truly understand the permissions associated with AD CS, we have to go back to the installation and configuration process of a new Enterprise CA (ECA). When configuring a new ECA using the normal configuration process, Microsoft provides you with an easily overlooked warning to tell you that this is an Enterprise Admin equivalent service, but never really explains the true impact of what this means. Some interesting things happen automatically when a new ECA is configured, but most organisations are likely unaware of the true consequences.
5. Lateral Movement through AD CS A demonstration will be used to showcase how the automatic configuration, explained in the previous section, can be leveraged by an attacker [Demo 3]. Due to the container configuration changes that are made when a new ECA is installed, all Domain Controllers in the entire forest will automatically enrol for a new certificate and trust the ECA. Conventionally, we could not exploit this since the domain controllers do not enrol for a Kerberos certificate that supports PKINIT authentication. However, we can leverage SCHANNEL authentication as the ECA certificate is trusted, which means that it can now be used for cross-domain lateral movement without touching the Parent domain.
6. The Installation Misconfiguration Finally, we get to the misconfiguration that occurs during the installation process of AD CS. The misconfiguration has been raised to Microsoft as a vulnerability. However, they provided their default claim: "The security boundary sits at the forest". Although true, this claim does not consider that threat actors can leverage the misconfiguration to not only perform privilege escalation from any Child domain to the Parent domain, but also deploy forest-wide persistence. Furthermore, the amount of opportunities for detection is also drastically reduced, as there are fewer steps to deploy this persistence, since it can be done exclusively through LDAP on a child domain.
7. Weaponising the Misconfiguration A demonstration of how this misconfiguration can be leveraged for privilege escalation and persistence will be shown [Demo 4].
Filmed at BSides Cape Town AV Sponsored by BITM Cyber SecurityOutsmarting cyber villains on a shoestring budget - Roshan Harneker | BSides Cape Town 2023BSides Cape Town2023-12-18 | This presentation covers the most common cyber threats affecting South Africa and how to combat them by building your own cyber threat intelligence platform on a budget.
This presentation focuses on practical steps to help you get started with building your own cyber threat intel programme for your organisation - importantly - on a budget!
The start of the presentation looks at the cybercrime crisis we face in SA and includes stats and info about the most prevalent threats noted and the "why" behind why these malicious acts are carried out. The next slides discuss strategies to combat the threats mentioned.
The next section is the main body of the presentation - the Macgyver section if you will (since I will speak about using what is already available in people's respective organisations to build a CTI programme), and starts by providing a technical and non-technical definition of CTI, followed by different types of threat intel and what those entail. The slides then discuss how to create a budget-conscious CTI programme (the building blocks), open-source CTI tools of the trade, documented peer-reviewed research discussing the differences between paid-for and free CTI feeds, etc. Since not all feeds are of the same quality, the next slides discuss how to rate the reliability of the source data (threat feeds) and credibility of the information these feeds provide. A well-known HUMINT method to rate and determine data credibility using the NATO Admiralty Code system is then discussed.
The presentation ends with key takeaways, with time for questions.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityThe Wide World of Consent - Jonathon Everatt | BSides Cape Town 2023BSides Cape Town2023-12-18 | The advent and adoption of cloud-based technologies by businesses and users has introduced new attack vectors that malicious actors can try to abuse. One of these attack vectors is a new type of phishing, called consent phishing. In Consent Phishing, an attacker-controlled application requests dangerous or sensitive permissions over a user's account or organisation's tenant. The talk will focus on both the offensive and defensive perspective of the attack and its relevant indicators of compromise.
Introduction. An introduction to the talk, highlighting what the traditional phishing vectors - like payload and credential phishing - are, and how consent phishing is different.
What is OAuth? A high level view of how OAuth2.0 work and how authorisation is given. Focus will be on defining the different parties in the flow and their roles.
What is consent? Background information for how consent grants work with the OAuth2.0 framework. Also a discussion around how authorisation grants are requested and given to users or applications. This will include a consent prompt that a user would receive in this situation.
How is this useful? Tying together the previous sections we will look at what the legitimate use case is of consent for application. This section will emphasise how this is extremely useful functionality that is not going to be removed.
Turning the good to bad? Once we understand how consent works and why it is useful we will look at how easily it can be abused. For example, a bot that deletes spam from an inbox is generally also able to spam others from the same inbox.
How do this fit into the phishing playbook? Exploring the kind of controls that affects this type of phishing and the kind of controls that it bypasses. This section will also introduce consent phishing in Azure and give real world examples of cases where a red team would use consent phishing.
Bringing it all together, making an attack happen. Pulling together all the aspect of consent phishing to take a high level walk-through of how a consent phishing attack in Azure could be undertaken.
The outcome. Showcasing a couple different scenarios of a successful consent phishing attack. Including reading user mail, reading files, and higher privileged actions that can be undertaken, provided appropriate consent is granted. This section will also discuss what attackers can do from the context of a successful attack, such as harvesting sensitive information or trying to pivot to an on-premise network.
Finding the bad guys, what IOCs we have. Once an attack has been executed, we will look at the logs that would be generated. There will be a small switch to a blue team perspective of how to find consent phishing attacks and the type of indicators that one could look for. An interesting point here is that some of the Indicators of Compromise that are provided in Azure logs can be misleading as to the source of compromise.
We've seen Azure what else? This section will investigate how different technologies have different approaches to managing consent with their application. We will look at what some technologies do better and what others do worse. This section will also try attribute different potential cases of consent phishing and its targets.
Wrapping Up; Is the world burning? Final thoughts on the presentation so far, reviewing where consent phishing could be used but also the challenges that need to be overcome in order to successfully perform an attack. Discussing as to how this is another tool in a red team's toolbox and something that a blue team should be aware of.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber Securityed2root - how ancient IPC mechanisms can benefit you today - Connor du Plooy | BSides Cape Town 2023BSides Cape Town2023-12-17 | This talk will detail a vulnerability identified in a text editor on macOS that could be used to obtain root privileges, this specific vulnerability has gone unnoticed for +- 8 years. The vulnerability was also identified in other packages and will include a short discussion on how it can be identified and exploited.
Description: This talk will go over how I found a vulnerability in a text editor on MacOS. Other variants of this vulnerability have been identified in other packages as well, and even though the APIs used by these packages have been deprecated for a really long time, it is still around in some software.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityForging Chains: The Java Blacksmith - Fabian Yamaguchi & David Baker Effendi | BSides Cape Town 2023BSides Cape Town2023-12-17 | We present a tool to automatically extract gadget chains from arbitrary combinations of classes on the Java class path - outside the lab environment. The aim is to demonstrate that patching chains makes no sense: deserializing arbitrary attacker-controlled objects is the vulnerability, not the chain.
When a program is found to write past the bounds of its buffer, developers will eagerly fix the buffer overflow, whether proven to be exploitable or not. In contrast, when it is found to deserialize arbitrary attacker-controlled objects, you will find that developers would like to hold on to this particularly flexible way of passing objects between processes because it is a feature they love and cherish. Without a gadget-chain that shows conclusively that the bug is exploitable, your warnings will fall on deaf ears. This double-standard is so prevalent that you will even see CVE assignments to gadget chains in the Java world, something that seems absurd in the C/C++ world. If dependencies are up to date such that no known chains are available to the attacker, then we're good, right?
In this talk, we aim to show that it is dangerous to patch gadget chains rather than restricting deserialization. To this end, we present "gadgetfx", a tool that is capable of extracting gadget chains from the concrete combination of Java libraries and custom code on the classpath of the target application. Building on existing proof-of-concept work and a decade of experience in creating code analysis tooling, we provide a tool that is capable of dealing with large real-world code bases while at the same time, performing sufficient analysis to produce valid chains. We discuss all the major headaches associated with building such a tool and demonstrate its efficacy on real-world applications.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityOops!!... did I reveal something? - Javan Mnjama | BSides Cape Town 2023BSides Cape Town2023-12-16 | Protect your Azure infrastructure from insecure secrets in deployment templates with deployment grazor - an Azure PowerShell script that detects potential misconfigurations and leaked secrets.
Infrastructure as Code (IaC) has been a valuable tool in the arsenal of DevOps teams globally. IaC tools such as Bicep and Terraform promote speed and consistency of deployments. These tools and associated deployment templates are typically leveraged in environments requiring large scale infrastructure.
In Microsoft Azure, deployment templates are static files written in JSON, and used to define the configuration of a deployed resource. Whether a resource is deployed in Azure using the portal, Azure API, or IaC, these deployment templates will be stored in an Azure tenant by default.
When a development pipeline is executed, a new instance of a deployment template is created. For teams adopting agile methodologies, this may result in numerous deployment templates created for a single cloud instance. Consequently, secrets insecurely created by IaC without using secure strings will result in multiple instances of secrets stored in plain text, in such deployment templates.
Deployment templates stored in Azure tenants make for juicy targets for attackers, as they can be a great source of exploitable information. Additionally, the minimum permission required to view deployment templates in Azure is the reader role. Consequently, details such as passwords, access keys, and other secrets are potentially accessible if not secured correctly.
From a detection perspective identifying such potential misconfigurations of deployment templates at scale can be a daunting task. This will require discovering the templates containing leaked secrets and the associated cloud resource. Furthermore, there are limited tooling available to automate the process on detecting leaked secrets post deployment of cloud resources; present tooling mainly focuses on credential scanning within a pipeline. The deployment grazor aims to address this. Deployment grazor identifies potential misconfigurations and discovers leaked secrets within deployment templates.
From an offensive perspective, deployment grazor assists cloud penetration testers to discover sensitive data that could be used for lateral movement.
This session presents deployment grazor, an Azure PowerShell script that should be a companion to defensive and offensive security team operations.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityAttacking Microsoft Exchange: Fusing LightNeuron with Cobalt Strike - Leon Jacobs | BSides Cape TownBSides Cape Town2023-12-16 | Known for hacking many industries as well as developing their own custom tooling, the Russian-based threat actor known as Turla uses a stealthy Microsoft Exchange backdoor called LightNeuron. Using standard mail protocols, steganography and an unconventional mail rule engine (to name a few), in this talk I’ll demonstrate a re-imagination of this complex backdoor while extending it to be used with Cobalt Strike. All this while asking, what does this mean for detection engineering?
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityA Practical Supply Chain Hack: Blinking RGBs for fun & profit - Dale Nunns | BSides Cape Town 2023BSides Cape Town2023-12-15 | A Practical Supply Chain Hack: Blinking RGBs for fun & profit.
Do you trust your computer hardware? How much damage could someone do if they just switched out the firmware on a cheap hardware purchase?
Come join me as we do just that, buy a cheap device, reverse engineer it, replace the firmware, plug it into a computer, blink lights and cause chaos.
This talk is all an excuse to hack and reverse engineer a USB peripheral. Buy a device from Takealot, reverse engineer it and add a few new "features" and then hand it over to an unsuspecting victim.
The talk will have something for everyone, a little hardware hacking, some reverse engineering and even some fun for those who don't quiet get all the technical stuff.
Plenty of details on how the hardware works, what makes USB work and how you can use all this knowledge to build your own version of a Rubber Ducky or OMG style cable.
Key take-away: Don't trust the hardware, don't trust the firmware, don't trust me not to break it and have fun!
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityEmbracing Dystopia: Building Secure Web Applications in the Age of Fast Development - Jessie AugusteBSides Cape Town2023-12-15 | A journey to explore the dystopian possibilities of neglecting web application security and discover how we can collectively build a brighter, more secure future. Together, we can turn the tide against the cyber threats that loom on the horizon.
Imagine a dystopian future where the digital realm is riddled with malicious actors, data breaches are an everyday occurrence, and personal information is constantly under siege.
We have teams of engineers delivering software used by millions, and are struggling to keep up with security best practices. Building secure web applications is not an option—it's a necessity.
This talk takes a look back into the dystopian reality of secure web development to examine where we can ensure secure software development is better embedded into our culture of building great software.
How do we enable software teams to make the right decisions and prioritise in a way that keeps up with the developing threat landscape?
How do we encourage early career software developers and non-technical individuals to actively engage in building secure web applications?
Together, we will explore the grim consequences of neglecting cybersecurity and offer practical insights on how to navigate this challenging landscape.
Key takeaways: - a look back at threat landscape changes in 2023 - exploration of cybersecurity challenges within web development - Insights into the crucial role of early career software developers in ensuring web application security. - Strategies for non-technical individuals to engage with and support secure web application development. - Practical tools and practices for building secure web applications. - Ideas to foster a culture of security within their organisations. - The motivation to actively contribute to a safer digital future.
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityHacking AAA Unreal Engine Games with... Python? - Ross Simpson | BSides Cape Town 2023BSides Cape Town2023-12-14 | A quick look at an open source Python framework with a novel approach for making undetectable "ESP" hacks for big retail games, and maybe some real world output with the help of an Arduino.
This is a quick look at a Python framework, which takes a novel and very likely "undetectable" approach, to hacking big Unreal Engine games.
It's a surprisingly simple, but impressive, approach which will be compared common alternatives. With a just enough Unreal Engine game hacking info to get someone started.
The demo will show how values and locations of other players in a "AAA" title multiplayer game are found, read, and displayed on screen to give a very unfair advantage.
But this power could also be used for good - having Python talk to an Arduino to potentially build custom accessibility features, such as force feedback or audio/visual notifications.How to sink a UBoot: Understanding bootloader attack surface - Keith Makan | BSides Cape Town 2023BSides Cape Town2023-12-12 | Uboot is arguably the defacto standard for providing adaptable bootloader environments for a plethora of infrastructures. Unfortunately some of the configuration options may expose vulnerabilities which compromise environments and may allow attackers to take control during privileged contexts. The talk included here will cover some of the Uboot basics, detail some architectural aspects of modern bootloaders as well as ways an eager hacker can exploit Uboot in order to drop a shell and take control.
Bootloaders are an obscure part of the operating system, they load the operating system, setup up the hardware and present us with a working, running machine all out of sight and out of mind. Though seemingly hidden, a large aspect of the operating systems security depends on a secure chain of trust being established between hosting hardware and the bootloader stages. When developing an embedded platform engineers and security staff cannot take all that hidden magic for granted and are required to understand the pitfalls common to bootloaders. Additionally with the advent of UEFI and Trusted Computing Platforms the security and idiosyncrasies of the bootloaders and their supporting hardware have taken the spotlight.
In this talk, listeners will learn about the fundamentals of bootloader architecture, how a secure chain of trust is established as well as the common pitfalls in Uboot configurations. The talk will cover pin2pwn attacks, a few ways attackers can perform malicious modification of firmware and abuse of unsecured environment variables. In order to provide a full perspective of secure Uboot configuration the talk will work through some of the subtle configuration changes which disable boot prompts, boot delays and show some ways to ensure that secure boot is configured correctly.Impose Cost: Our defences eventually fail & we need to take the the fight to the criminals | KeynoteBSides Cape Town2023-12-10 | In the BSides Cape Town 2023 opening keynote, Singe presents about imposing cost to criminals.
Abstract: The best defence is a good offence - except in cybersecurity where we send people to the battlefield with armour and radios. The most active defence gets is evicting attackers from their network. We've leaned in so hard into defence as an industry we're lying on the floor, and it's time to look up. But, how can we take the fight to the criminals, without crossing legal and ethical boundaries?
Cybersecurity is all defence. In the history of competitive endeavours from sports to wars, nobody has ever won by playing defence alone. Over the years there have been several defensive models people use to prioritise scare expertise across complex systems, and while they all buy us something, no defence is perfect and the approaches eventually fail us. How do we stop the incessant focus on building and maintaining higher walls while attackers just reuse the same ladders? Address the problem at its root - in security the best defence isn't a good offence, it's a good arrest. What can we do as an industry to better support and enable law enforcement in identifying, linking, gathering evidence, and successfully prosecuting the groups behind the cybercrime. Because when we do - the results are often a dramatic decrease in attacks. While I don't have all the answers, there are enough examples to show us ways it could work. The challenge then is how to we embed them into our security strategies in the future?
Filmed at BSides Cape Town 2023 AV Sponsored by BITM Cyber SecurityOpening Address - BSides Cape Town 2023BSides Cape Town2023-12-10 | ...(Final Keynote) DECEPTION VIA PERCEPTION: Jayson E StreetBSides Cape Town2023-10-06 | BSIDES Cape Town 2022 Conference Final Keynote Track 1 (Final Keynote) DECEPTION VIA PERCEPTION: Jayson E Street
Re-upload for better audio quality.An IOT War Story- Jason SpencerBSides Cape Town2023-10-06 | BSIDES Cape Town 2022 Conference Track 2 An IOT War Story - Jason Spencer
Re-upload with better audioThe Russia-Ukraine War: A retrospective - Jared NaudeBSides Cape Town2023-10-05 | BSIDES Cape Town 2022 Conference Track 1 Jared Naude The Russia-Ukraine War: A retrospectiveHome Alone isn’t scary, it’s inspiration - Dev Dua, Tyron Kemp, Denver AbreyBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 1 Home Alone isn’t scary, it’s inspiration - Dev Dua, Tyron Kemp, Denver Abrey(Keynote) Made in SA - For the world - Haroon MeerBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Keynote Track 1 (Keynote) Made in SA - For the world - Haroon MeerSecuring a cloud native open source microservice based core banking system- Ntando MngomezuluBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 2 Securing a cloud native open source microservice based core banking system - Ntando MngomezuluPermanently bricking smart contracts for fun and profit- Ashiq AmienBSides Cape Town2023-09-19 | BSIDES CPT 2022 Track 2 Permanently bricking smart contracts for fun and profit - Ashiq AmieBSIDES CPT 2022 OpeningBSides Cape Town2023-09-19 | Opening and sponsor thanks by Christo GoosenEntersekt Opening 2022 ConferenceBSides Cape Town2023-09-19 | BSIDES 2022An investigation into the state of web-based Crypto mining - Robert LenBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 2 An investigation into the state of web-based Crypto mining - Robert LenSmart Watch Lobotomy - Dale NunnsBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 1 Smart Watch Lobotomy - Dale NunnsAbusing AWS permissions – Teaching an old dog new tricks- Jason kesselBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 2 Abusing AWS permissions – Teaching an old dog new tricks - Jason kesselALL BARK, NO BYTE - Amy ManiaBSides Cape Town2023-09-19 | BSIDES Cape Town 2022 Conference Track 1 ALL BARK, NO BYTE - Amy Mania