Latest / CyberSecurity Summary / OWASP Mobile Security Testing Guide
Transcript
- 0:00Speaker 1: All right, let's dive in. Today. We're taking a deep
- 0:02Speaker 1: dive into mobile app security.
- 0:04Speaker 2: Ooh sounds interesting.
- 0:06Speaker 1: Yeah, specifically for Android and iOS devices. You know, keeping
- 0:09Speaker 1: all that sensitive info on our phone.
- 0:11Speaker 2: Safe very important these days, right, And I've.
- 0:14Speaker 1: Been looking through these guides and technical documents. We have, oh.
- 0:17Speaker 2: Wow, some serious stuff it is.
- 0:20Speaker 1: I even came across a security testing tool called drozer
- 0:23Speaker 1: for Android.
- 0:24Speaker 2: Drozer.
- 0:24Speaker 1: Yeah sounds pretty intense, right, it.
- 0:26Speaker 2: Does definitely need an expert to break all that down.
- 0:29Speaker 1: Well, that's why you're here. So from this mountain of info,
- 0:33Speaker 1: what's the biggest thing our listeners should know about mobile
- 0:36Speaker 1: app security? Hmmmm?
- 0:37Speaker 2: The biggest thing, Well, I'd say it's that security isn't
- 0:40Speaker 2: just a one time thing.
- 0:41Speaker 1: Okay, not a set it and forget it kind of
- 0:43Speaker 1: deal exactly.
- 0:44Speaker 2: It's more like building a house, you know. I like
- 0:48Speaker 2: that you need a strong foundation, and then you got
- 0:51Speaker 2: to keep building those walls making sure everything inside is protected.
- 0:54Speaker 1: So like, what are the foundation and walls when it
- 0:57Speaker 1: comes to.
- 0:57Speaker 2: Our phones, Well, the operating systems Android iOS, those are
- 1:00Speaker 2: your foundation, makes sense.
- 1:02Speaker 1: They have built in security features. But then you need
- 1:05Speaker 1: strong walls, like strong passwords being careful about which apps
- 1:10Speaker 1: get what permissions right.
- 1:11Speaker 2: Those permissions can be tricky.
- 1:13Speaker 1: And understanding how apps use your data that's important too.
- 1:16Speaker 2: It's easy to forget our phones are mini computers packed
- 1:19Speaker 2: with sensitive information exactly.
- 1:21Speaker 1: Yeah, and that's why knowing the strengths and weaknesses of
- 1:24Speaker 1: each platform is crucial. So let's start with Android. Android
- 1:29Speaker 1: it's open source nature. It's great for customization.
- 1:32Speaker 2: Yeah, you can really personalize it.
- 1:34Speaker 1: But that flexibility well, can also create vulnerabilities.
- 1:37Speaker 2: So it's like hmm, having a house with lots of
- 1:39Speaker 2: doors and windows, more ways to come and go, but
- 1:42Speaker 2: also more entry points for trouble.
- 1:45Speaker 1: That's a good way to visualize it. Take rooting for example.
- 1:48Speaker 1: Rooting it gives you complete control of your Android device.
- 1:51Speaker 1: Sounds powerful it is, but it also removes safety barriers
- 1:55Speaker 1: that protect against malicious apps.
- 1:57Speaker 2: So even though Android has sandboxing to isolate apps, rooting
- 2:01Speaker 2: bypasses that exactly.
- 2:02Speaker 1: It's a trade off. And then there's how Android apps
- 2:05Speaker 1: talk to each other.
- 2:06Speaker 2: They talk to each other, yeah, through something called interprocess
- 2:09Speaker 2: communication or IPC.
- 2:11Speaker 1: IPC like a secret language. You could say that they
- 2:15Speaker 1: use it to share data and resources. But if it's
- 2:17Speaker 1: not implemented correctly, well, it creates vulnerabilities hackers can exploit.
- 2:21Speaker 2: Wow, I had no idea. So how do Android developers
- 2:25Speaker 2: make sure their apps are secure with all these potential risks?
- 2:28Speaker 1: Security testing is key. There are tools like Drozer.
- 2:31Speaker 2: Ah, Drozer are intense friend right.
- 2:35Speaker 1: It simulates attacks to find vulnerabilities before the bad guys
- 2:39Speaker 1: can exploit them.
- 2:40Speaker 2: So Drozer is like a security guard patrolling the app
- 2:42Speaker 2: for weak points. What kind of things does it find?
- 2:45Speaker 1: All sorts of things like insecure data storage?
- 2:48Speaker 2: In secure data storage.
- 2:50Speaker 1: Yeah, like if an app is storing passwords and plaintext,
- 2:53Speaker 1: that's a huge red flag.
- 2:54Speaker 2: Makes sense, like leaving your house keys under the mat.
- 2:57Speaker 1: Exactly and beyond Rozer. Understanding Android pro missions is vitle.
- 3:01Speaker 2: Right those pop ups asking if an app can access
- 3:03Speaker 2: your camera or location?
- 3:05Speaker 1: Yes, but just because an app asks doesn't mean you
- 3:07Speaker 1: have to say yes.
- 3:08Speaker 2: Good point. Always think does this app really need this access?
- 3:14Speaker 1: Like does a flashlight app need access to my contacts?
- 3:16Speaker 2: Probably not exactly, be mindful. So we've talked about Android's
- 3:21Speaker 2: potential issues, but what about iOS? Apples known for its security, right, absolutely,
- 3:27Speaker 2: iOS takes a much more locked down approach, very controlled.
- 3:31Speaker 1: So fewer doors and Windows tougher security checks.
- 3:34Speaker 2: Exactly. Apple vets apps before they're allowed in the App Store.
- 3:38Speaker 2: They use code signing. Code sign it ensures the app
- 3:41Speaker 2: hasn't been tampered with. Plus they have strict sandboxing to
- 3:45Speaker 2: limit what apps can access.
- 3:46Speaker 1: So Apple's like a super strict bouncer at a club.
- 3:49Speaker 2: Huh haha. That's one way to put it. But even
- 3:51Speaker 2: with these safeguards, no system is perfect, right.
- 3:54Speaker 1: There are always ways around things.
- 3:55Speaker 2: Like jail braking.
- 3:56Speaker 1: Jail braking I've heard of that.
- 3:58Speaker 2: It's like rooting on Android. Remove restrictions but also increases risk.
- 4:02Speaker 1: So you're picking the lock on that high security building,
- 4:05Speaker 1: gaining freedom, but also compromising the system exactly.
- 4:08Speaker 2: And developers they need to be just as careful about
- 4:11Speaker 2: security on iOS as they are an Android.
- 4:13Speaker 1: So no matter the platform, there are common security slip ups,
- 4:18Speaker 1: even for well meaning developers.
- 4:19Speaker 2: Definitely. One big one is improper platform usage.
- 4:24Speaker 1: Improper platform usage, Yeah.
- 4:26Speaker 2: It could be misusing platform features or failing to do
- 4:29Speaker 2: things like certificate validation when talking to servers.
- 4:34Speaker 1: Certificate validation was that it's like.
- 4:36Speaker 2: Checking someone's ID before you let them in your house.
- 4:39Speaker 2: When an app connects to a server, it should verify
- 4:41Speaker 2: that server's digital certificate to.
- 4:43Speaker 1: Make sure it's legit and not some imposter trying to
- 4:46Speaker 1: steal data exactly.
- 4:48Speaker 2: And another common issue is insecure authentication and authorization.
- 4:53Speaker 1: So weak passwords or leaky user sessions.
- 4:56Speaker 2: Yeah, developers need to build strong log in systems and
- 4:58Speaker 2: make sure user data is left vulnerable absolutely.
- 5:01Speaker 1: And then there's well just plain old bad code.
- 5:04Speaker 2: Ah. Yes, code quality is crucial. Poorly written code can
- 5:08Speaker 2: lead to reverse engineering.
- 5:09Speaker 1: Reverse engineering like taking part a clock to see how.
- 5:11Speaker 2: It works exactly. Hackers do this to find vulnerabilities.
- 5:14Speaker 1: So they're looking for weaknesses they can exploit, like finding
- 5:17Speaker 1: a flaw in a building's designed to break in.
- 5:20Speaker 2: You got it. Developers need to make their code tough
- 5:23Speaker 2: to reverse engineer.
- 5:24Speaker 1: How do they do that?
- 5:25Speaker 2: They can use obduscation, which scrambles the code, makes it
- 5:29Speaker 2: hard to.
- 5:29Speaker 1: Understand, like a secret code.
- 5:31Speaker 2: And this brings us back to static and dynamic analysis.
- 5:35Speaker 2: In security testing, developers need to examine their code a
- 5:39Speaker 2: and d observe how the app behaves in a safe environment.
- 5:43Speaker 1: So checking the blueprints, andy doing a test.
- 5:45Speaker 2: Run precisely, you got to catch those vulnerabilities from all angles.
- 5:49Speaker 1: Wow, mobile app security is more complex than I thought.
- 5:53Speaker 1: What surprised you the most while going through all this material?
- 5:55Speaker 2: You know, what really stood out to me was the
- 5:57Speaker 2: complexity of iOS data protection.
- 6:00Speaker 1: iOS data protection, Yeah.
- 6:01Speaker 2: It's not just about encryption. It's about different layers of
- 6:05Speaker 2: protection for different types of data, even if your device
- 6:08Speaker 2: gets lost, So like.
- 6:09Speaker 1: Having multiple locks on different rooms in your house, depending
- 6:12Speaker 1: on how valuable the stuff inside is exactly.
- 6:15Speaker 2: Apple really put a lot of thought into that.
- 6:16Speaker 1: It's impressive, it is. So with everything we've learned, what's
- 6:20Speaker 1: one thing our listeners should do right now to improve
- 6:23Speaker 1: their security?
- 6:24Speaker 2: Hmm, I'd say go check the permissions you've given your apps.
- 6:27Speaker 2: Are those apps actually using those permissions or are they
- 6:31Speaker 2: just sitting there potentially exploitable.
- 6:33Speaker 1: That's a great point. I'm definitely gonna be checking mine
- 6:35Speaker 1: after this.
- 6:36Speaker 2: You should. It's easy to just tap allow without thinking,
- 6:40Speaker 2: but those permissions are powerful.
- 6:41Speaker 1: So we've covered Android permissions, iOS data protection, But there's
- 6:46Speaker 1: one big topic we haven't really explored. Jail breaking and rooting.
- 6:52Speaker 2: Yes, the realm, where users take full control for better
- 6:56Speaker 2: or worse.
- 6:56Speaker 1: That sounds like a whole other deep dive, potentially a
- 6:58Speaker 1: dangerous one.
- 6:59Speaker 2: It definitely deserves its own conversation.
- 7:01Speaker 1: Sounds like we'll be back for part two.
- 7:03Speaker 2: Then I'd say that's a safe bet.
- 7:04Speaker 1: Until end listeners stay secure.
- 7:08Speaker 2: Welcome back to the deep dive. Last time, we were
- 7:10Speaker 2: talking about the basics of mobile app security, you know,
- 7:13Speaker 2: exploring the ins and outs of Android and iOS.
- 7:16Speaker 1: Yeah, we got pretty deep into the foundations.
- 7:19Speaker 2: We did, but we looking off on that cliffhanger jail
- 7:21Speaker 2: breaking and routing.
- 7:22Speaker 1: Ah, yes, where users kind of break free from those
- 7:26Speaker 1: Apple and Google restrictions. Yeah right, And I got admit,
- 7:29Speaker 1: I'm a little confused. It seems like wanting more control
- 7:32Speaker 1: but also maybe making your device less secure.
- 7:35Speaker 2: It is a trade off, that's for sure. So first
- 7:38Speaker 2: things first, what do those processes even mean?
- 7:41Speaker 1: Okay, back to basics.
- 7:43Speaker 2: Jail breaking on iOS and rooting on Android. They both
- 7:47Speaker 2: involve well, exploiting vulnerabilities in the operating system.
- 7:51Speaker 1: Exploiting vulnerabilities sounds a bit risky. To gain root access,
- 7:55Speaker 1: rude access. Okay, that sounds powerful but also kind of scary.
- 7:59Speaker 2: Yeah, it's the highest level of privilege you can have
- 8:01Speaker 2: on your device. Think of it like having the master
- 8:04Speaker 2: key that unlocks every single door in a building.
- 8:07Speaker 1: Whoa, Okay, now I get the power part right.
- 8:09Speaker 2: So what can you actually de with that power?
- 8:11Speaker 1: Yeah? What's the point?
- 8:12Speaker 2: Well, you can bypass app store restrictions install apps from anywhere.
- 8:16Speaker 1: You want, so no more Apple or Google saying what
- 8:19Speaker 1: I can and can't download exactly.
- 8:20Speaker 2: You can customize the look and feel of your device
- 8:23Speaker 2: way more.
- 8:23Speaker 1: Ooh, I like customization, and.
- 8:25Speaker 2: You can even tweak how the system itself works, like
- 8:27Speaker 2: battery management or network settings.
- 8:29Speaker 1: So you're basically taking off the training wheels and saying
- 8:31Speaker 1: I'm in control now. Uh huh.
- 8:34Speaker 2: Yeah, that's a good way to put it. But remember
- 8:36Speaker 2: taking off those training wheels also removes some of the safety.
- 8:39Speaker 1: Measures, right the trade off? So what are the risks
- 8:42Speaker 1: like specifically.
- 8:44Speaker 2: Well, one big one is malware. You're opening yourself up
- 8:47Speaker 2: to apps from well less reputable sources, makes sense.
- 8:51Speaker 1: If you're not getting apps from the official stores, who
- 8:53Speaker 1: knows what you're downloading.
- 8:55Speaker 2: Right, and those apps might not have gone through any
- 8:57Speaker 2: security checks. You could end up with anything from annoying
- 9:01Speaker 2: adwear to nasty spyware stealing your data.
- 9:05Speaker 1: Yikes. Okay, that's definitely a.
- 9:07Speaker 2: Risk, and jail breaking or rooting can also make your
- 9:10Speaker 2: device more vulnerable to data breaches. Remember all those security
- 9:13Speaker 2: mechanisms we talked about before, sandboxing, code signing.
- 9:17Speaker 1: Yeah, those sounded pretty important.
- 9:18Speaker 2: Well, those safeguards are basically weakened, sometimes even totally bypassed
- 9:22Speaker 2: when you have root access.
- 9:23Speaker 1: So it's like a disabling the alarm system on your house. Yeah,
- 9:27Speaker 1: makes things easier, but also leaves you wide open to burglars.
- 9:30Speaker 2: Exactly. An attacker if they get root access, they can
- 9:34Speaker 2: potentially see everything on your device, passwords, financial info, photos,
- 9:39Speaker 2: the whole shebang.
- 9:40Speaker 1: Okay, I am officially rethinking those jail break your iPhone
- 9:44Speaker 1: videos I've seen online.
- 9:45Speaker 2: Aha, good call, But to be fair, some people do
- 9:48Speaker 2: jail break or root their phones for privacy reasons.
- 9:51Speaker 1: Oh really, how does that work?
- 9:52Speaker 2: There are some privacy focused apps and tweaks you can
- 9:56Speaker 2: only get on a jail broken or rooted device.
- 9:59Speaker 1: So like blocking trackers or having more control over those
- 10:02Speaker 1: app permissions we talked.
- 10:03Speaker 2: About, exactly, it's like building a higher fence around your
- 10:06Speaker 2: property to keep those prying eyes out.
- 10:08Speaker 1: Okay, I see the appeal, but those fences can have
- 10:11Speaker 1: weak spots, right, given all those other risks, you got it.
- 10:14Speaker 2: It's all about weighing the benefits against the risks. And
- 10:16Speaker 2: if you do decide to go down that road, you
- 10:18Speaker 2: got to be extra vigilant about security.
- 10:21Speaker 1: Okay, good advice. So let's say someone's already jail broken
- 10:24Speaker 1: or rooted their device. What can they do to stay safe?
- 10:27Speaker 2: Well, first and foremost, be super careful about the apps
- 10:31Speaker 2: you install. Stick to trusted developers and sources.
- 10:34Speaker 1: So do your research, read reviews, that sort.
- 10:36Speaker 2: Of thing, exactly. Remember, an app can look harmless but
- 10:40Speaker 2: actually be full of malicious code.
- 10:43Speaker 1: So it's like being careful about what you eat from
- 10:46Speaker 1: a street vendor. You want to go to the one
- 10:48Speaker 1: with a good reputation, not the one that might give
- 10:50Speaker 1: you food poisoning.
- 10:51Speaker 2: Perfect analogy. And just like you wouldn't eat expired food,
- 10:55Speaker 2: keep your device and all your apps up to date
- 10:57Speaker 2: with the latest security patches.
- 11:00Speaker 1: Even if I'm being careful about what I install, new
- 11:02Speaker 1: vulnerabilities pop up all the time.
- 11:05Speaker 2: All the time. Those patches are like fixing those weak
- 11:07Speaker 2: spots in your fence as soon as they appear.
- 11:09Speaker 1: Okay, So it's not just a one time thing, it's
- 11:11Speaker 1: an ongoing process exactly.
- 11:13Speaker 2: And of course, strong unique passwords are crucial especially on
- 11:18Speaker 2: a jail broken or rooted device, and turn on two
- 11:21Speaker 2: factor authentication everywhere you can.
- 11:23Speaker 1: Two factor authentication. That's why they send you a code
- 11:26Speaker 1: to your phone or email.
- 11:27Speaker 2: Right, yep, adds an extra layer of security it And.
- 11:29Speaker 1: What about those app permissions?
- 11:31Speaker 2: Still super important? Be picky about what you allow. Remember
- 11:35Speaker 2: you're giving those apps keys to your house. Don't give
- 11:38Speaker 2: keys to someone you don't trust.
- 11:40Speaker 1: Good point. Even with apps ideo trust I should limit
- 11:45Speaker 1: their access to only what they absolutely need.
- 11:48Speaker 2: Right. The less access they have, the less damage they
- 11:50Speaker 2: can do if something goes wrong.
- 11:52Speaker 1: Okay, this is all making a lot more sense now,
- 11:55Speaker 1: But we've talked a lot about apps, operating systems all that.
- 11:58Speaker 1: What about the network itself? Our phones are always connecting
- 12:01Speaker 1: to something.
- 12:02Speaker 2: Ah, yes, the network. Secure network communication is super important,
- 12:07Speaker 2: especially when you're using public Wi Fi or sending sensitive
- 12:10Speaker 2: information because.
- 12:11Speaker 1: Public Wi Fi is like having a conversation in a
- 12:14Speaker 1: crowded room.
- 12:15Speaker 2: Anyone could be listening exactly, So how do we make
- 12:18Speaker 2: sure those conversations stay private? Well, that's where HDTPS comes in.
- 12:21Speaker 1: HTTPS. I've seen that little s at the end of
- 12:24Speaker 1: website addresses, But what does it actually do?
- 12:27Speaker 2: It encrypts. The data that's being sent between your device
- 12:29Speaker 2: and the website server encrypts.
- 12:31Speaker 1: So like making it unreadable to anyone who's trying to snoop.
- 12:34Speaker 2: Precisely, it's like sending a secret message into code that
- 12:38Speaker 2: only the intended recipient can decipher.
- 12:40Speaker 1: Okay, that makes sense, But how do I know if
- 12:42Speaker 1: a website is using HTTPS?
- 12:45Speaker 2: Look for that HTTPS at the beginning of the web address,
- 12:49Speaker 2: and also keep an eye out for a little padlock
- 12:51Speaker 2: icon in your browser's address bar.
- 12:53Speaker 1: Oh right, I've seen that padlock before. So those are
- 12:56Speaker 1: like a seal of approval saying this connection is secure exactly.
- 13:00Speaker 2: And when you're using apps, pay close attention to any
- 13:02Speaker 2: security warnings or messages that.
- 13:04Speaker 1: Pop up, because those are usually trying to tell me
- 13:06Speaker 1: something important, like if an app is trying to connect
- 13:09Speaker 1: to a shady server.
- 13:10Speaker 2: You got it. It's always better to be safe than sorry.
- 13:13Speaker 2: Avoid sending sensitive info over unsecured connections whenever possible.
- 13:17Speaker 1: Okay, I'm definitely going to be more mindful of HTTPS
- 13:20Speaker 1: and those warnings from now on. Good.
- 13:22Speaker 2: It's all about those little things adding up to a
- 13:24Speaker 2: more secure experience.
- 13:26Speaker 1: Definitely. This whole deep dive has really been eye opening.
- 13:29Speaker 1: There are so many layers to security there are.
- 13:32Speaker 2: It's not just one thing. It's about understanding all the
- 13:35Speaker 2: different pieces and how they work together to keep your data.
- 13:38Speaker 1: Safe, secure, communication, operating systems, apps, user behavior, the device itself.
- 13:46Speaker 1: Anything we missed hmmm, well.
- 13:48Speaker 2: We touched on it briefly, but we could probably dive
- 13:50Speaker 2: a little deeper into reverse engineering.
- 13:52Speaker 1: Oh yeah, you mentioned that before. It's where someone tries
- 13:55Speaker 1: to take apart an app to see how it works. Yeah,
- 13:57Speaker 1: like taking apart a clock to see all the gears precisely.
- 14:01Speaker 2: Now, that can be interesting for say a hobbyist, but
- 14:05Speaker 2: how does it relate to security?
- 14:06Speaker 1: Yeah, that's what I'm wondering.
- 14:08Speaker 2: Well. While reverse engineering can be used for legitimate purposes
- 14:11Speaker 2: like understanding a competitor's product, attackers can use it to
- 14:14Speaker 2: find vulnerabilities.
- 14:16Speaker 1: Ah, so they're basically looking for weaknesses in the app's
- 14:19Speaker 1: code that they can exploit.
- 14:20Speaker 2: Exactly by understanding how the app works internally, they can
- 14:24Speaker 2: find those potential points of failure, those security flaws.
- 14:28Speaker 1: It sounds pretty advanced. Do attackers actually do this with
- 14:31Speaker 1: mobile apps.
- 14:32Speaker 2: More often than you might think. It's a common tactic
- 14:35Speaker 2: for finding vulnerabilities they can use to steal data bypass security,
- 14:38Speaker 2: or even take control of a device.
- 14:40Speaker 1: So it's like finding the blueprint to a building and
- 14:43Speaker 1: then looking for weak spots in the design that you
- 14:46Speaker 1: can exploit to break in.
- 14:47Speaker 2: Exactly. Once they have that blueprint, they can start looking
- 14:50Speaker 2: for ways to pick the locks, disable the alarms, find
- 14:53Speaker 2: other ways to get in.
- 14:54Speaker 1: Okay, this is getting a little creepy. Is there anything
- 14:57Speaker 1: developers can do to protect their apps from this kind
- 15:00Speaker 1: of reverse engineering?
- 15:02Speaker 2: Absolutely? There are a bunch of techniques they can use
- 15:05Speaker 2: to make it much harder for attackers to analyze their code,
- 15:09Speaker 2: like what one common one is called code obfuscation. It's
- 15:13Speaker 2: basically like scrambling that blueprint, making it way harder to understand, So.
- 15:17Speaker 1: It's like writing a secret message in code that only
- 15:20Speaker 1: the intended recipient can understand precisely.
- 15:23Speaker 2: Obfuscation makes the code super complex and difficult to read.
- 15:27Speaker 2: That can deter attackers or at least slow them down
- 15:30Speaker 2: a lot.
- 15:30Speaker 1: So it's not impossible to reverse engineer, but it makes
- 15:33Speaker 1: it a lot harder. What else can developers do well?
- 15:36Speaker 2: They can use anti debugging measures. Those make it tough
- 15:39Speaker 2: for attackers to use specialized tools to analyze the app's
- 15:42Speaker 2: code while.
- 15:43Speaker 1: It's running, So it's like setting traps in a building
- 15:45Speaker 1: to catch anyone who's trying to sneak in and.
- 15:47Speaker 2: Study the layout exactly. And they can also use encryption
- 15:50Speaker 2: to protect sensitive parts of the code, or even employ
- 15:54Speaker 2: runtime integrity checks to see if the app's been tampered with.
- 15:57Speaker 1: So it's like having multiple layers of security for.
- 16:00Speaker 2: Your code exactly. It's all about making the app as
- 16:03Speaker 2: difficult as possible to reverse engineer, protecting users and their data.
- 16:08Speaker 1: This is fascinating. It's like a constant cat and mouse
- 16:11Speaker 1: game between developers trying to build secure apps and attackers
- 16:15Speaker 1: trying to break them.
- 16:16Speaker 2: You got it. It's an ongoing challenge. Staying ahead of
- 16:19Speaker 2: the curve requires vigilance and innovation from both sides.
- 16:22Speaker 1: And users have a role to play too, right.
- 16:24Speaker 2: Absolutely, users need to be aware of the risks, make
- 16:27Speaker 2: smart choices about the apps they install, and practice good
- 16:30Speaker 2: digital hygiene, strong passwords, being careful with permissions, all that
- 16:34Speaker 2: good stuff, right.
- 16:35Speaker 1: Because even the most secure app can be compromised if
- 16:38Speaker 1: the user isn't careful or aware of the dangers.
- 16:41Speaker 2: Exactly. It's a shared responsibility between developers, security pros and users.
- 16:46Speaker 1: Well said, Okay, so we've covered a ton of ground
- 16:50Speaker 1: secure communication, operating systems, apps, user behavior, reverse engineering. Anything
- 16:56Speaker 1: we missed, anything else our listeners should know.
- 17:00Speaker 2: Hm, Well, we've talked about security testing in general, but
- 17:02Speaker 2: we haven't really dug into the specifics.
- 17:04Speaker 1: Oh right, the actual tools and techniques that security professionals
- 17:08Speaker 1: use to find vulnerabilities.
- 17:09Speaker 2: Yeah, that's a whole other world.
- 17:11Speaker 1: The world we need to explore.
- 17:12Speaker 2: It sounds like definitely worth a deep dive.
- 17:14Speaker 1: Well, sounds like we'll be back for part three. Then
- 17:16Speaker 1: stay tuned, listeners. Oh all right, welcome back to the
- 17:19Speaker 1: deep dive. We've been through a lot, haven't we.
- 17:21Speaker 2: We have android iOS, jail breaking, rooting, even how attackers
- 17:27Speaker 2: try to break into apps.
- 17:29Speaker 1: It's been a wild ride. But now I'm really curious
- 17:32Speaker 1: about how the good guys, the security experts, actually find
- 17:36Speaker 1: those vulnerabilities before the bad guys do.
- 17:38Speaker 2: Ah. Yes, it's like being a detective, you know, but
- 17:41Speaker 2: instead of solving crimes, we're trying to prevent them.
- 17:44Speaker 1: I like that mobile ab security detectives. So what kind
- 17:47Speaker 1: of tools do these detectives use? What's in their arsenal?
- 17:50Speaker 2: Well, we've got a lot of different approaches, but two
- 17:52Speaker 2: of the most common are static analysis and dynamic analysis.
- 17:56Speaker 1: Static and dynamic those sound familiar.
- 17:58Speaker 2: Yeah, we touched on them briefly in Part one, remember.
- 18:01Speaker 1: Right, right, But a little refresher wouldn't hurt.
- 18:05Speaker 2: Sure. Static analysis is like h examining a blueprint before
- 18:10Speaker 2: you actually build a house.
- 18:11Speaker 1: Okay, I'm listening.
- 18:12Speaker 2: We analyze the app source code without actually running it.
- 18:15Speaker 2: We're looking for any weaknesses in the design, flaws that
- 18:19Speaker 2: could cause problems later on.
- 18:20Speaker 1: So it's like a code inspection, looking for anything that
- 18:23Speaker 1: seems off or risky exactly.
- 18:25Speaker 2: We're looking for things like, hmm, insecure coding practices, logical errors,
- 18:31Speaker 2: you know, those kind of things that attackers could exploit.
- 18:33Speaker 1: Okay, that makes sense. And dynamic analysis, how's that different?
- 18:37Speaker 2: Dynamic analysis is more like observing the house after it's built,
- 18:40Speaker 2: seeing how people are using it, looking for any signs
- 18:43Speaker 2: of trouble.
- 18:44Speaker 1: Okay, I see where you're going with this.
- 18:45Speaker 2: We actually run the app in a controlled environment and
- 18:48Speaker 2: monitor its behavior, looking for any suspicious activity, any signs
- 18:52Speaker 2: of a security breach.
- 18:53Speaker 1: So it's like stress testing the app, pushing it to
- 18:56Speaker 1: its limits to see if anything breaks Haha.
- 18:58Speaker 2: That's a great way to put it. We're looking for
- 19:00Speaker 2: things like memory leaks, buffer overflows, vulnerabilities that might not
- 19:05Speaker 2: be obvious just by looking at the code.
- 19:07Speaker 1: So static is like checking the blueprints, dynamic is like
- 19:10Speaker 1: watching the house in action.
- 19:12Speaker 2: Exactly, and by combining both we get a much more
- 19:15Speaker 2: complete picture of the apps. Security makes sense.
- 19:19Speaker 1: Now are there specific tools you guys use for all this?
- 19:22Speaker 2: Oh? Yeah, tons. Some are designed for specific platforms, some
- 19:25Speaker 2: are more general purpose. You've got commercial tools, open source tools.
- 19:29Speaker 2: It's a whole world.
- 19:30Speaker 1: I bet can you give some examples, like what are
- 19:32Speaker 1: these tools actually do?
- 19:34Speaker 2: Sure? For static analysis, there are tools like Sonarcube and
- 19:38Speaker 2: check marks. They scan the code for potential vulnerabilities, like.
- 19:42Speaker 1: Those automated grammar checkers that find mistakes in your writing,
- 19:45Speaker 1: kind of like that.
- 19:46Speaker 2: They highlight things like SQL injection flaws, cross sites, scripting vulnerabilities,
- 19:51Speaker 2: all those common security weaknesses.
- 19:53Speaker 1: So they're like little robot code detectives sniffing out anything
- 19:55Speaker 1: that looks suspicious.
- 19:56Speaker 2: H huh exactly. They can analyze thousands of lines of
- 20:00Speaker 2: code in minutes, finding stuff that human reviewers might miss.
- 20:04Speaker 1: That's amazing. What about dynamic analysis tools? Any cool ones there.
- 20:07Speaker 2: Oh, yeah, for sure. We use tools like burp Suite
- 20:10Speaker 2: and oas bas t they act as proxies, basically intercepting
- 20:15Speaker 2: traffic between the app and the server.
- 20:16Speaker 1: Intercepting traffic like spying on the app's conversations.
- 20:20Speaker 2: Huhuh kinda. We can analyze that communication look for anything fishy, so.
- 20:24Speaker 1: Like if the app is leaking sensitive information exactly.
- 20:28Speaker 2: We can test for insecure data transmission, authentication bypasses, you know,
- 20:32Speaker 2: things that happen while the app is actually running.
- 20:35Speaker 1: This is fascinating. It's like you guys have all these
- 20:37Speaker 1: secret weapons to catch those hit or vulnerabilities, you.
- 20:40Speaker 2: Could say that. And on top of static and dynamic analysis,
- 20:43Speaker 2: we also use something called penetration testing or pen testing.
- 20:47Speaker 1: Penetration testing. That sounds kind of scary.
- 20:49Speaker 2: It is, but it's a good kind of scary. It's
- 20:51Speaker 2: basically like ethical hacking.
- 20:53Speaker 1: Ethical hacking.
- 20:54Speaker 2: Yeah, so like hacking for good exactly. We try to
- 20:57Speaker 2: attack the app like a real attacker would, use all
- 21:00Speaker 2: the tools and techniques at our disposal to see if you.
- 21:02Speaker 1: Can find any weaknesses that you might have missed with
- 21:05Speaker 1: the other methods.
- 21:06Speaker 2: Yep. We try to exploit known vulnerabilities, find new ones
- 21:11Speaker 2: really put the apps security to the test, so.
- 21:13Speaker 1: It's like a real world combat simulation, seeing how well
- 21:16Speaker 1: the app holds up against a real attacker exactly.
- 21:19Speaker 2: It's crucial for finding and fixing those vulnerabilities before the
- 21:23Speaker 2: bad guys can exploit them.
- 21:25Speaker 1: It sounds like pen testing is especially important these days
- 21:27Speaker 1: with all the sophisticated cyber attacks happening.
- 21:30Speaker 2: It is it helps keep users safe, which is what
- 21:32Speaker 2: it's all about at the end of the day.
- 21:33Speaker 1: Absolutely, wow, this has been a truly incredible deep dive.
- 21:37Speaker 1: I'm really impressed by all the work that goes into
- 21:40Speaker 1: keeping our apps secure.
- 21:41Speaker 2: It's definitely a team effort, developers, security professionals, users, we
- 21:45Speaker 2: all have a part to play.
- 21:46Speaker 1: Well said, and to our listeners, stay vigilant, stay informed,
- 21:50Speaker 1: and stay secure out there.