From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Android IPC, part 8: Threads
From the course: Writing Secure Code for Android by Infosec
Android IPC, part 8: Threads
- Android IPC. Part 8: Threads. Let's talk a little bit about threads, because some people get them confused with services, and they're not the same thing. Regardless of the application, a thread is the smallest unit of executable code. The heart of the operating system, the kernel, schedules threads to run on the CPU. Now, your app could have one thread, the main thread, or it could have multiple threads, and I want to talk about multiple threads in a bit. A service, on the other hand, is an app component that runs, usually, in the background. I mean, some services can be in the foreground, but typically the user does not interact with the service, it runs in the background, doing whatever it's doing. The kicker is that, by default, services run on the app's main thread, which provides an opportunity for Denial of Service, and what we call blocking. Blocking is, okay, so I trigger this service to download something, okay? And if it runs on the main thread, I'm sitting around…
Contents
-
-
-
-
-
- (Locked) Common data risks11m 18s
- (Locked) Android file recovery7m 59s
- (Locked) Data in transit11m 38s
- (Locked) Activity: Sniffing clear text transmissions, part 110m 1s
- (Locked) Activity: Sniffing clear text transmissions, part 29m 46s
- (Locked) Network security5m 51s
- (Locked) Activity: Configuring network security, part 114m 52s
- (Locked) Activity: Configuring network security, part 213m 44s
- (Locked) Certificate pinning9m 54s
- (Locked) Activity: Certificate pinning10m 3s
- (Locked) Data leakage, part 18m 47s
- (Locked) Data leakage, part 29m 13s
- (Locked) Activity: Preventing data leakage3m 13s
- (Locked) Databases14m 36s
- (Locked) Activity: Working with Room database, part 112m 36s
- (Locked) Activity: Working with Room database, part 25m 53s
- (Locked) Activity: Securing database data6m 31s
- (Locked) Android IPC, part 15m 16s
- (Locked) Android IPC, part 2: Activity10m 13s
- (Locked) Android IPC, part 3: Service14m 49s
- (Locked) Android IPC, part 4: Broadcast receiver10m 47s
- (Locked) Android IPC, part 4: Broadcast receiver, continued12m 9s
- (Locked) Android IPC, part 5: Content provider21m
- (Locked) Android IPC, part 5: Content provider, continued9m 16s
- (Locked) Android IPC, part 6: Intent12m 25s
- (Locked) Android IPC, part 6: Intent, continued9m 45s
- (Locked) Android IPC, part 7: Binder4m 52s
- (Locked) Android IPC, part 8: Threads9m 42s
- (Locked) Android IPC, part 9: Race condition12m 39s
- (Locked) Activity: Exploring threads and concurrency14m 9s
- (Locked)
-
-
-