Browse Source

Deleting files

pull/24/head
rmusser01 3 years ago
parent
commit
51baba9a8b
91 changed files with 0 additions and 30987 deletions
  1. +0
    -8
      MobileApplication/.babelrc
  2. +0
    -75
      MobileApplication/.flowconfig
  3. +0
    -17
      MobileApplication/.gitignore
  4. +0
    -1
      MobileApplication/.watchmanconfig
  5. +0
    -17
      MobileApplication/App.js
  6. +0
    -9
      MobileApplication/App.test.js
  7. +0
    -220
      MobileApplication/README.md
  8. +0
    -5
      MobileApplication/app.json
  9. +0
    -27
      MobileApplication/package.json
  10. +0
    -6127
      MobileApplication/yarn.lock
  11. +0
    -2
      Sphinx/CONTRIBUTING.md
  12. +0
    -21
      Sphinx/LICENSE
  13. +0
    -20
      Sphinx/Makefile
  14. +0
    -198
      Sphinx/README.md
  15. +0
    -0
      Sphinx/_static/.gitsave
  16. +0
    -36
      Sphinx/make.bat
  17. +0
    -53
      Sphinx/package-lock.json
  18. +0
    -8
      Sphinx/package.json
  19. BIN
      Sphinx/readme-img/landing.png
  20. BIN
      Sphinx/readme-img/page.png
  21. +0
    -20
      Sphinx/requirements.txt
  22. +0
    -453
      Sphinx/source/Anon-Opsec-Privacy.md
  23. +0
    -744
      Sphinx/source/Attacking-Defending-Android.md
  24. +0
    -182
      Sphinx/source/Attacking-Defending-iOS.md
  25. +0
    -278
      Sphinx/source/BIOS-UEFI-Attacks-Defenses.md
  26. +0
    -79
      Sphinx/source/Basic-Security-Information.md
  27. +0
    -87
      Sphinx/source/Building-A-Pentest-Lab.md
  28. +0
    -155
      Sphinx/source/CTF-Wargames.md
  29. +0
    -129
      Sphinx/source/Car-Hacking.md
  30. +0
    -125
      Sphinx/source/CheatSheets.md
  31. +0
    -38
      Sphinx/source/Conferences.md
  32. +0
    -66
      Sphinx/source/Counter-Surveillance.md
  33. +0
    -218
      Sphinx/source/Courses-Training.md
  34. +0
    -49
      Sphinx/source/Crypto-Currencies.md
  35. +0
    -424
      Sphinx/source/Cryptography-Encryption.md
  36. +0
    -54
      Sphinx/source/Darknets.md
  37. +0
    -211
      Sphinx/source/Data-Analysis-Visualization.md
  38. +0
    -248
      Sphinx/source/Defense.md
  39. +0
    -30
      Sphinx/source/Disclosure.md
  40. +0
    -25
      Sphinx/source/Disinformation.md
  41. +0
    -116
      Sphinx/source/Documentation-Reports.md
  42. +0
    -15
      Sphinx/source/Drones.md
  43. +0
    -578
      Sphinx/source/Embedded-Device-Hardware-Hacking.md
  44. +0
    -276
      Sphinx/source/Exfiltration.md
  45. +0
    -1755
      Sphinx/source/Exploit-Development.md
  46. +0
    -602
      Sphinx/source/Forensics-Incident-Response.md
  47. +0
    -461
      Sphinx/source/Fuzzing-Bug-Hunting.md
  48. +0
    -176
      Sphinx/source/Game-Hacking.md
  49. +0
    -409
      Sphinx/source/Gamma_group_hack_writeup.txt
  50. +0
    -927
      Sphinx/source/Hacking-Team-Writeup.md
  51. +0
    -5
      Sphinx/source/Home-Security.md
  52. +0
    -297
      Sphinx/source/Honeypots.md
  53. +0
    -4
      Sphinx/source/How-To-Suck-at-Information-Security.md
  54. +0
    -55
      Sphinx/source/Lab-For-Exploit-Dev-Basic.md
  55. +0
    -19
      Sphinx/source/Mainframes.md
  56. +0
    -779
      Sphinx/source/Malware.md
  57. +0
    -87
      Sphinx/source/Metasploit.md
  58. +0
    -1321
      Sphinx/source/Network-Attacks-Defenses.md
  59. +0
    -502
      Sphinx/source/Network-Security-Monitoring-Logging.md
  60. +0
    -521
      Sphinx/source/Open-Source-Intelligence.md
  61. +0
    -64
      Sphinx/source/Opsec-rant-alpraking.md
  62. +0
    -331
      Sphinx/source/Opsec-rant2-nachash.md
  63. +0
    -287
      Sphinx/source/Password-Bruting-and-Hashcracking.md
  64. +0
    -277
      Sphinx/source/Phishing.md
  65. +0
    -237
      Sphinx/source/Physical-Security.md
  66. +0
    -54
      Sphinx/source/Policy-Compliance.md
  67. +0
    -240
      Sphinx/source/Port-List.md
  68. +0
    -1703
      Sphinx/source/Privilege-Escalation-Post-Exploitation.md
  69. +0
    -623
      Sphinx/source/Programming-Languages-Libs-Courses-References.md
  70. +0
    -703
      Sphinx/source/Red-Teaming.md
  71. +0
    -611
      Sphinx/source/Reverse-Engineering-REMath-Literature.md
  72. +0
    -979
      Sphinx/source/Reverse-Engineering.md
  73. +0
    -233
      Sphinx/source/Rootkits.md
  74. +0
    -168
      Sphinx/source/SCADA.md
  75. +0
    -277
      Sphinx/source/Social-Engineering.md
  76. +0
    -530
      Sphinx/source/System-Internals-Windows-Linux.md
  77. +0
    -33
      Sphinx/source/Threat-Hunting.md
  78. +0
    -40
      Sphinx/source/Threat-Intelligence.md
  79. +0
    -63
      Sphinx/source/Threat-Modeling.md
  80. +0
    -57
      Sphinx/source/UX-Design.md
  81. +0
    -1063
      Sphinx/source/Useful-Stuff.md
  82. +0
    -1754
      Sphinx/source/Web-And-Browsers.md
  83. +0
    -700
      Sphinx/source/Wireless-Networks-And-RF.md
  84. +0
    -0
      Sphinx/source/_static/.gitkeep
  85. +0
    -216
      Sphinx/source/conf.py
  86. +0
    -182
      Sphinx/source/detect_virtual_box_c_prog.txt
  87. +0
    -78
      Sphinx/source/index.rst
  88. +0
    -113
      Sphinx/source/things-added.md
  89. +0
    -7
      Sphinx/yarn.lock
  90. BIN
      old/MA.tar
  91. BIN
      old/sphinx

+ 0
- 8
MobileApplication/.babelrc View File

@ -1,8 +0,0 @@
{
"presets": ["babel-preset-expo"],
"env": {
"development": {
"plugins": ["transform-react-jsx-source"]
}
}
}

+ 0
- 75
MobileApplication/.flowconfig View File

@ -1,75 +0,0 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore templates for 'react-native init'
<PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*
; Ignore RN jest
<PROJECT_ROOT>/node_modules/react-native/jest/.*
; Ignore RNTester
<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
; Ignore the website subdir
<PROJECT_ROOT>/node_modules/react-native/website/.*
; Ignore the Dangerfile
<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
; Ignore Fbemitter
<PROJECT_ROOT>/node_modules/fbemitter/.*
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/node_modules/react-native/\.buckd/
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
; Ignore polyfills
<PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*
; Ignore various node_modules
<PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
<PROJECT_ROOT>/node_modules/expo/.*
<PROJECT_ROOT>/node_modules/react-navigation/.*
<PROJECT_ROOT>/node_modules/xdl/.*
<PROJECT_ROOT>/node_modules/reqwest/.*
<PROJECT_ROOT>/node_modules/metro-bundler/.*
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/expo/flow/
[options]
emoji=true
module.system=haste
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.ios.js
munge_underscores=true
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
unsafe.enable_getters_and_setters=true
[version]
^0.56.0

+ 0
- 17
MobileApplication/.gitignore View File

@ -1,17 +0,0 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# expo
.expo/
# dependencies
/node_modules
# misc
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

+ 0
- 1
MobileApplication/.watchmanconfig View File

@ -1 +0,0 @@
{}

+ 0
- 17
MobileApplication/App.js View File

@ -1,17 +0,0 @@
import React from 'react';
import { WebView, StyleSheet, Text, View } from 'react-native';
export default class App extends React.Component {
render() {
return (
<WebView
source={{uri: 'https://noahle.com/infosec/index.html'}}
style={{marginTop: 20}}
/>
);
}
}
const styles = StyleSheet.create({
});

+ 0
- 9
MobileApplication/App.test.js View File

@ -1,9 +0,0 @@
import React from 'react';
import App from './App';
import renderer from 'react-test-renderer';
it('renders without crashing', () => {
const rendered = renderer.create(<App />).toJSON();
expect(rendered).toBeTruthy();
});

+ 0
- 220
MobileApplication/README.md View File

@ -1,220 +0,0 @@
This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app).
Below you'll find information about performing common tasks. The most recent version of this guide is available [here](https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md).
## Table of Contents
* [Updating to New Releases](#updating-to-new-releases)
* [Available Scripts](#available-scripts)
* [npm start](#npm-start)
* [npm test](#npm-test)
* [npm run ios](#npm-run-ios)
* [npm run android](#npm-run-android)
* [npm run eject](#npm-run-eject)
* [Writing and Running Tests](#writing-and-running-tests)
* [Environment Variables](#environment-variables)
* [Configuring Packager IP Address](#configuring-packager-ip-address)
* [Adding Flow](#adding-flow)
* [Customizing App Display Name and Icon](#customizing-app-display-name-and-icon)
* [Sharing and Deployment](#sharing-and-deployment)
* [Publishing to Expo's React Native Community](#publishing-to-expos-react-native-community)
* [Building an Expo "standalone" app](#building-an-expo-standalone-app)
* [Ejecting from Create React Native App](#ejecting-from-create-react-native-app)
* [Build Dependencies (Xcode & Android Studio)](#build-dependencies-xcode-android-studio)
* [Should I Use ExpoKit?](#should-i-use-expokit)
* [Troubleshooting](#troubleshooting)
* [Networking](#networking)
* [iOS Simulator won't open](#ios-simulator-wont-open)
* [QR Code does not scan](#qr-code-does-not-scan)
## Updating to New Releases
You should only need to update the global installation of `create-react-native-app` very rarely, ideally never.
Updating the `react-native-scripts` dependency of your app should be as simple as bumping the version number in `package.json` and reinstalling your project's dependencies.
Upgrading to a new version of React Native requires updating the `react-native`, `react`, and `expo` package versions, and setting the correct `sdkVersion` in `app.json`. See the [versioning guide](https://github.com/react-community/create-react-native-app/blob/master/VERSIONS.md) for up-to-date information about package version compatibility.
## Available Scripts
If Yarn was installed when the project was initialized, then dependencies will have been installed via Yarn, and you should probably use it to run these commands as well. Unlike dependency installation, command running syntax is identical for Yarn and NPM at the time of this writing.
### `npm start`
Runs your app in development mode.
Open it in the [Expo app](https://expo.io) on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.
Sometimes you may need to reset or clear the React Native packager's cache. To do so, you can pass the `--reset-cache` flag to the start script:
```
npm start -- --reset-cache
# or
yarn start -- --reset-cache
```
#### `npm test`
Runs the [jest](https://github.com/facebook/jest) test runner on your tests.
#### `npm run ios`
Like `npm start`, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed.
#### `npm run android`
Like `npm start`, but also attempts to open your app on a connected Android device or emulator. Requires an installation of Android build tools (see [React Native docs](https://facebook.github.io/react-native/docs/getting-started.html) for detailed setup). We also recommend installing Genymotion as your Android emulator. Once you've finished setting up the native build environment, there are two options for making the right copy of `adb` available to Create React Native App:
##### Using Android Studio's `adb`
1. Make sure that you can run adb from your terminal.
2. Open Genymotion and navigate to `Settings -> ADB`. Select “Use custom Android SDK tools” and update with your [Android SDK directory](https://stackoverflow.com/questions/25176594/android-sdk-location).
##### Using Genymotion's `adb`
1. Find Genymotion’s copy of adb. On macOS for example, this is normally `/Applications/Genymotion.app/Contents/MacOS/tools/`.
2. Add the Genymotion tools directory to your path (instructions for [Mac](http://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/), [Linux](http://www.computerhope.com/issues/ch001647.htm), and [Windows](https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/)).
3. Make sure that you can run adb from your terminal.
#### `npm run eject`
This will start the process of "ejecting" from Create React Native App's build scripts. You'll be asked a couple of questions about how you'd like to build your project.
**Warning:** Running eject is a permanent action (aside from whatever version control system you use). An ejected app will require you to have an [Xcode and/or Android Studio environment](https://facebook.github.io/react-native/docs/getting-started.html) set up.
## Customizing App Display Name and Icon
You can edit `app.json` to include [configuration keys](https://docs.expo.io/versions/latest/guides/configuration.html) under the `expo` key.
To change your app's display name, set the `expo.name` key in `app.json` to an appropriate string.
To set an app icon, set the `expo.icon` key in `app.json` to be either a local path or a URL. It's recommended that you use a 512x512 png file with transparency.
## Writing and Running Tests
This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test` extension to have the files loaded by jest. See the [the template project](https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/App.test.js) for an example test. The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html).
## Environment Variables
You can configure some of Create React Native App's behavior using environment variables.
### Configuring Packager IP Address
When starting your project, you'll see something like this for your project URL:
```
exp://192.168.0.2:19000
```
The "manifest" at that URL tells the Expo app how to retrieve and load your app's JavaScript bundle, so even if you load it in the app via a URL like `exp://localhost:19000`, the Expo client app will still try to retrieve your app at the IP address that the start script provides.
In some cases, this is less than ideal. This might be the case if you need to run your project inside of a virtual machine and you have to access the packager via a different IP address than the one which prints by default. In order to override the IP address or hostname that is detected by Create React Native App, you can specify your own hostname via the `REACT_NATIVE_PACKAGER_HOSTNAME` environment variable:
Mac and Linux:
```
REACT_NATIVE_PACKAGER_HOSTNAME='my-custom-ip-address-or-hostname' npm start
```
Windows:
```
set REACT_NATIVE_PACKAGER_HOSTNAME='my-custom-ip-address-or-hostname'
npm start
```
The above example would cause the development server to listen on `exp://my-custom-ip-address-or-hostname:19000`.
## Adding Flow
Flow is a static type checker that helps you write code with fewer bugs. Check out this [introduction to using static types in JavaScript](https://medium.com/@preethikasireddy/why-use-static-types-in-javascript-part-1-8382da1e0adb) if you are new to this concept.
React Native works with [Flow](http://flowtype.org/) out of the box, as long as your Flow version matches the one used in the version of React Native.
To add a local dependency to the correct Flow version to a Create React Native App project, follow these steps:
1. Find the Flow `[version]` at the bottom of the included [.flowconfig](.flowconfig)
2. Run `npm install --save-dev flow-bin@x.y.z` (or `yarn add --dev flow-bin@x.y.z`), where `x.y.z` is the .flowconfig version number.
3. Add `"flow": "flow"` to the `scripts` section of your `package.json`.
4. Add `// @flow` to any files you want to type check (for example, to `App.js`).
Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors.
You can optionally use a [plugin for your IDE or editor](https://flow.org/en/docs/editors/) for a better integrated experience.
To learn more about Flow, check out [its documentation](https://flow.org/).
## Sharing and Deployment
Create React Native App does a lot of work to make app setup and development simple and straightforward, but it's very difficult to do the same for deploying to Apple's App Store or Google's Play Store without relying on a hosted service.
### Publishing to Expo's React Native Community
Expo provides free hosting for the JS-only apps created by CRNA, allowing you to share your app through the Expo client app. This requires registration for an Expo account.
Install the `exp` command-line tool, and run the publish command:
```
$ npm i -g exp
$ exp publish
```
### Building an Expo "standalone" app
You can also use a service like [Expo's standalone builds](https://docs.expo.io/versions/latest/guides/building-standalone-apps.html) if you want to get an IPA/APK for distribution without having to build the native code yourself.
### Ejecting from Create React Native App
If you want to build and deploy your app yourself, you'll need to eject from CRNA and use Xcode and Android Studio.
This is usually as simple as running `npm run eject` in your project, which will walk you through the process. Make sure to install `react-native-cli` and follow the [native code getting started guide for React Native](https://facebook.github.io/react-native/docs/getting-started.html).
#### Should I Use ExpoKit?
If you have made use of Expo APIs while working on your project, then those API calls will stop working if you eject to a regular React Native project. If you want to continue using those APIs, you can eject to "React Native + ExpoKit" which will still allow you to build your own native code and continue using the Expo APIs. See the [ejecting guide](https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md) for more details about this option.
## Troubleshooting
### Networking
If you're unable to load your app on your phone due to a network timeout or a refused connection, a good first step is to verify that your phone and computer are on the same network and that they can reach each other. Create React Native App needs access to ports 19000 and 19001 so ensure that your network and firewall settings allow access from your device to your computer on both of these ports.
Try opening a web browser on your phone and opening the URL that the packager script prints, replacing `exp://` with `http://`. So, for example, if underneath the QR code in your terminal you see:
```
exp://192.168.0.1:19000
```
Try opening Safari or Chrome on your phone and loading
```
http://192.168.0.1:19000
```
and
```
http://192.168.0.1:19001
```
If this works, but you're still unable to load your app by scanning the QR code, please open an issue on the [Create React Native App repository](https://github.com/react-community/create-react-native-app) with details about these steps and any other error messages you may have received.
If you're not able to load the `http` URL in your phone's web browser, try using the tethering/mobile hotspot feature on your phone (beware of data usage, though), connecting your computer to that WiFi network, and restarting the packager.
### iOS Simulator won't open
If you're on a Mac, there are a few errors that users sometimes see when attempting to `npm run ios`:
* "non-zero exit code: 107"
* "You may need to install Xcode" but it is already installed
* and others
There are a few steps you may want to take to troubleshoot these kinds of errors:
1. Make sure Xcode is installed and open it to accept the license agreement if it prompts you. You can install it from the Mac App Store.
2. Open Xcode's Preferences, the Locations tab, and make sure that the `Command Line Tools` menu option is set to something. Sometimes when the CLI tools are first installed by Homebrew this option is left blank, which can prevent Apple utilities from finding the simulator. Make sure to re-run `npm/yarn run ios` after doing so.
3. If that doesn't work, open the Simulator, and under the app menu select `Reset Contents and Settings...`. After that has finished, quit the Simulator, and re-run `npm/yarn run ios`.
### QR Code does not scan
If you're not able to scan the QR code, make sure your phone's camera is focusing correctly, and also make sure that the contrast on the two colors in your terminal is high enough. For example, WebStorm's default themes may [not have enough contrast](https://github.com/react-community/create-react-native-app/issues/49) for terminal QR codes to be scannable with the system barcode scanners that the Expo app uses.
If this causes problems for you, you may want to try changing your terminal's color theme to have more contrast, or running Create React Native App from a different terminal. You can also manually enter the URL printed by the packager script in the Expo app's search bar to load it manually.

+ 0
- 5
MobileApplication/app.json View File

@ -1,5 +0,0 @@
{
"expo": {
"sdkVersion": "23.0.0"
}
}

+ 0
- 27
MobileApplication/package.json View File

@ -1,27 +0,0 @@
{
"name": "MobileApplication",
"version": "0.1.0",
"private": true,
"devDependencies": {
"jest-expo": "23.0.0",
"react-native-scripts": "1.8.1",
"react-test-renderer": "16.0.0"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js --watch"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"expo": "^23.0.4",
"react": "16.0.0",
"react-native": "0.50.3",
"watchman": "^1.0.0"
}
}

+ 0
- 6127
MobileApplication/yarn.lock
File diff suppressed because it is too large
View File


+ 0
- 2
Sphinx/CONTRIBUTING.md View File

@ -1,2 +0,0 @@
If you wish to contribute, simply fork the project, add your links/information/pages and make a pull request.
As long as the links are non-malicious, I'll probably accept your pull request. Any help/contributions are welcomed.

+ 0
- 21
Sphinx/LICENSE View File

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2017 Robert
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 0
- 20
Sphinx/Makefile View File

@ -1,20 +0,0 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = InfosecReference
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

+ 0
- 198
Sphinx/README.md View File

@ -1,198 +0,0 @@
# Infosec_Reference
An Information Security Reference That Doesn't Suck
#### Goal:
* Be an awesome Information Security Reference
* List of techinques, tools and tactics to learn from/reference.
* Something like a "Yellow Pages" in the sense of you know something exists, but what was it called....
* End goal: Rich resource of infosec knowledge for anyone to browse through as a jumping off point for various niches OR as a reference/recall method for stuff.
* 'if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn.'
* Something oppposite to the [MITRE ATT&CK Framework](https://attack.mitre.org/wiki/Main_Page) (eventually; As in, "I want to do priv esc on OS X/windows/linux, what methods are there?" or, "I need to do X under Y situation". Focus is on attacks and how they're done vs how attacks are done with a focus on defense.
* Always accepting more links/stuff. Feel free to contribue or suggest something.
#### Why Do *I* Care?
* No idea. I do this as a resource for myself(to teach others from) and offer it publicly as a way of giving back to the general community.
* To be clear, these aren't personal notes. I keep this repo maintained as a way of having pointers to information that I feel help build someone's skillset or increase understanding of attacks/methods/defenses.
#### Why Do *You* Care?
* Don't have to constantly google for tools/reminder.
* Easily browsable list of tools, techniques, papers, and research in all sorts of areas.
* Want to read some good info.
##### This page
* This page is terrible on mobile. Use [https://rmusser.net/docs](https://rmusser.net/docs]) for better mobile formatting.
* At some point I will sort the sections into a grid alphabetically.
* For latest content updates, check here: [Things added since last update](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/things-added.md)
* This will have all links added to the other pages sorted according to topic, making it easier to see new stuff.
* All links on this page should work. Last tested 11/26
* Contributions are welcome, format is pretty simple/easy to pick up, add anything not already in it that fits.
### Index - Table of Contents
------------------------------
#### ATT&CK(Def3nse?) Stuff
Windows
* [Windows Collection](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Collection.md)
* [Windows Command and Control](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Command_and_Control.md)
* [Windows Credential Access](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Credential_Access.md)
* [Windows Defense Evasion](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Defense_Evasion.md)
* [Windows Discovery](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Discovery.md)
* [Windows Execution](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Execution.md)
* [Windows Exfiltration](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Exfiltration.md)
* [Windows Lateral Movement](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Lateral_Movement.md)
* [Windows Persistence](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Persistence.md)
* [Windows Privilege Escalation](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Windows/Windows_Privilege_Escalation.md)
Linux
* [Linux Collection](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Collection.md)
* [Linux Command and Control](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Command%20and%20Control.md)
* [Linux Credential Access](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Credential%20Access.md)
* [Linux Defense Evasion](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Defense%20Evasion.md)
* [Linux Discovery](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Discovery.md)
* [Linux Execution](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Execution.md)
* [Linux Exfiltration](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Exfiltration.md)
* [Linux Lateral Movement](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Lateral%20Movement.md)
* [Linux Persistence](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Persistence.md)
* [Linux Privilege Escalation](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/ATT%26CK-Stuff/Linux/Linux%20Privilege%20Escalation.md)
Mac/OS X
* [OS X Collection]
* [OS X Command and Control]
* [OS X Credential Access]
* [OS X Defense Evasion]
* [OS X Discovery]
* [OS X Execution]
* [OS X Exfiltration]
* [OS X Lateral Movement]
* [OS X Persistence]
* [OS X Privilege Escalation]
#### Categories
* [Anonymity/OpSec/Privacy](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/AnonOpsecPrivacy.md)
* [Basic Security Information](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Basic%20Security%20Information.md)
* [BIOS/UEFI/Firmware Attacks/Defense](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/BIOS%20UEFI%20Attacks%20Defenses.md)
* [Building a PenTest Lab](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Building%20A%20Pentest%20Lab.md)
* [Car hacking](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Car%20Hacking.md)
* [Cheat Sheets](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Cheat%20sheets%20reference%20pages%20Checklists%20-.md)
* [CTFs & Wargames](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/CTFs_Wargames.md)
* [Conferences/Recordings](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Conferences.md)
* [Counter Surveillance](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Counter_Surveillance.md)
* [Courses & Training](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Courses_Training.md)
* [Cryptography & Encryption](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Cryptography%20%26%20Encryption.md)
* [CryptoCurrencies](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/CryptoCurrencies.md)
* [Darknets](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Darknets.md)
* [Data Anaylsis & Visualization](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Data%20AnalysisVisualization.md)
* [Disclosure](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Disclosure.md)
* [Disinformation](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Disinformation.md)
* [Documentation & Reporting](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Documentation%20%26%20Reports%20-.md)
* [Embedded Device Security](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Embedded%20Device%20%26%20Hardware%20Hacking%20-.md)
* [Exfiltration](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Exfiltration.md)
* [Exploit Development](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Exploit%20Development.md)
* [Forensics & Incident Response](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Forensics%20Incident%20Response.md)
* [Fuzzing & Bug Hunting](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Fuzzing%20Bug%20Hunting.md)
* [Gamma Group Hack Writeup](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Gamma_group_hack_writeup.txt)
* [Hacking Team Writeup](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Hacking%20Team%20Writeup.md)
* [Home Security](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Home%20Security.md)
* [Honeypots](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Honeypots.md)
* [Interesting Things & Useful Information](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Interesting%20Things%20Useful%20stuff.md)
* [Malware](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Malware.md)
* [Network Attacks & Defense](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Network%20Attacks%20%26%20Defenses.md)
* [Network Security Monitoring & Logging](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Network%20Security%20Monitoring%20%26%20Logging.md)
* [Open Source Intelligence Gathering - OSINT](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Open%20Source%20Intelligence.md)
* [Opsec Rant #1 - alpraking](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Opsec_rant-alpraking.md)
* [Opsec rant #2 - nachash](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Opsec_rant2-nachash.md)
* [Passwords](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Password%20Bruting%20and%20Hashcracking.md)
* [Phishing](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Phishing.md)
* [Physical Security](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Phyiscal%20Security.md)
* [Privilege Escalation and Post-Exploitation](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Privilege%20Escalation%20%26%20Post-Exploitation.md)
* [Programming Stuff](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Programming%20-%20Languages%20Libs%20Courses%20References.md)
* [Red Teaming](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Red-Teaming.md)
* [Reverse Engineering](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Reverse%20Engineering.md)
* [REMATH Reverse Engineering](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Reverse%20Engineering%20-%20REMath%20Literature.md)
* [Rootkits](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Rootkits.md)
* [Social Engineering](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Social%20Engineering.md)
* [System Internals (Linux/Windows) - NOT THE TOOLSET](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/System%20Internals%20Windows%20and%20Linux%20Internals%20Reference.md)
* [Threat Modeling](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Threat%20Modeling.md)
* [Threat Hunting](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Threat-Hunting.md)
* [UI/UX Design](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/UX%20Design%20-%20Because%20we%20all%20know%20how%20sexy%20pgp%20is.md)
* [Web](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Web%20%26%20Browsers.md)
* [Wireless Networks and RF Devices](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/Wireless%20Networks%20%26%20RF.md)
* [Insurance Data Security Model Law](http://www.naic.org/documents/committees_ex_cybersecurity_tf_exposure_mod_draft_clean.pdf) |
* [NIST Cyber Security Framework 02/12/2014](https://www.nist.gov/sites/default/files/documents/cyberframework/cybersecurity-framework-021214.pdf) |
* [PCI-DSS V3.2](https://pcicompliance.stanford.edu/sites/default/files/pci_dss_v3-2.pdf)|
## Installation
-Requirements:
-* Python 3
-Directions:
-* Run the terminal command `pip install -r requirements.txt` to install the dependencies for Sphinx
-* Install `yarn`
-* Run the `yarn` to install the dependencies for `prettier`
-## Website Build Commands
-To render the Markdown and reStructuredText into HTML, run the terminal command `make html` from the `sphinx/` folder.
-This will render and output the website to the `build/html/` folder.
-To lint your Markdown run `yarn run pretty`. At the moment, this only lints single files. You can lint entire directories using a command like this `find ./src/**/*.js | xargs prettier --write --print-width 80 --single-quote --trailing-comma es5`. More information can be [found here](https://til.hashrocket.com/posts/498b012fbd-run-prettier-on-all-javascript-files-in-a-dir).
-## Website Settings
-To edit the settings, change the `source/conf.py` file.
-## Mobile Development
-The Android version of this application is built using `react-native`. To get started, run the following commands:
-1. `npm install -g create-react-native-app`
-2. `cd MobileApplication`
-3. `npm start`
-4. Scan the QR code in the `Expo` app
-5. Start developing!
-A more detailed set of instructions for setting up can be found on the [React-Native website](https://facebook.github.io/react-native/docs/getting-started.html).
-To be able to view the application on your phone while you're developing, you must use the Expo client.
-* Android client can be found here [here](https://play.google.com/store/apps/details?id=host.exp.exponent).
-* iOS client can be found [here](https://itunes.apple.com/us/app/expo-client/id982107779?mt=8).
-## Structure
-Helpful notes:
-* Use two spaces for indentation
-* Use # for the page title
-Pages should have the following structure:
-```markdown
-# <title>
-
-## <table of contents>
-
-## <section header>
-
-* bullet point
-* bullet point
-
- * sub-bullet point
-
-* bullet point
-
-Normal text looks like this
-
-[Link title](the actual link goes here)
-![image alt text](image link)
-```
## Seeing the latest updates
* For latest content updates, [check the reposity](https://github.com/rmusser01/Infosec_Reference/blob/master/Draft/things-added.md).

+ 0
- 0
Sphinx/_static/.gitsave View File


+ 0
- 36
Sphinx/make.bat View File

@ -1,36 +0,0 @@
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=InfosecReference
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
:end
popd

+ 0
- 53
Sphinx/package-lock.json View File

@ -1,53 +0,0 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"mdast-comment-marker": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/mdast-comment-marker/-/mdast-comment-marker-1.0.2.tgz",
"integrity": "sha1-Hd8O+BH7UkOQF8jSwLkiA18rp0o="
},
"remark-lint": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/remark-lint/-/remark-lint-6.0.1.tgz",
"integrity": "sha512-wvTTuB5O5pF8SxqahQjjrU3dtuhygYjaGcOZTw+4ACgSE4RBINDlNqN46HjcV3X0ib5GmObJUt5a2mmhtmuTqw==",
"requires": {
"remark-message-control": "4.0.1"
}
},
"remark-message-control": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/remark-message-control/-/remark-message-control-4.0.1.tgz",
"integrity": "sha1-KRPNYLMW2fnzkKp/NGOdIM9VmW0=",
"requires": {
"mdast-comment-marker": "1.0.2",
"trim": "0.0.1",
"unist-util-visit": "1.2.0",
"vfile-location": "2.0.2"
}
},
"trim": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz",
"integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0="
},
"unist-util-is": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-2.1.1.tgz",
"integrity": "sha1-DDEmKeP5YMZukx6BLT2A53AQlHs="
},
"unist-util-visit": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.2.0.tgz",
"integrity": "sha512-lI+jyPlDztHZ2CJhUchcRMQ7MNc0yASgYFxwRTxs0EZ+9HbYFBLVGDJ2FchTBy+pra0O1LVEn0Wkgf19mDVDzw==",
"requires": {
"unist-util-is": "2.1.1"
}
},
"vfile-location": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.2.tgz",
"integrity": "sha1-02dcWch3SY5JK0dW/2Xkrxp1IlU="
}
}
}

+ 0
- 8
Sphinx/package.json View File

@ -1,8 +0,0 @@
{
"scripts": {
"prettier": "prettier --write ./source/Network-Attacks-Defenses.md"
},
"devDependencies": {
"prettier": "^1.8.2"
}
}

BIN
Sphinx/readme-img/landing.png View File

Before After
Width: 1908  |  Height: 966  |  Size: 253 KiB

BIN
Sphinx/readme-img/page.png View File

Before After
Width: 1908  |  Height: 923  |  Size: 196 KiB

+ 0
- 20
Sphinx/requirements.txt View File

@ -1,20 +0,0 @@
alabaster==0.7.10
Babel==2.5.1
certifi==2017.11.5
chardet==3.0.4
CommonMark==0.5.4
docutils==0.14
idna==2.6
imagesize==0.7.1
Jinja2==2.10
MarkupSafe==1.0
Pygments==2.2.0
pytz==2017.3
recommonmark==0.4.0
requests==2.18.4
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.6.5
sphinx-rtd-theme==0.2.4
sphinxcontrib-websupport==1.0.1
urllib3==1.22

+ 0
- 453
Sphinx/source/Anon-Opsec-Privacy.md View File

@ -1,453 +0,0 @@
## Anonymity, Opsec & Privacy
#### Table of Contents
* [Cull](#cull)
* [General](#general)
* [Blogposts](#blog)
* [Articles](#Articles)
* [How-Tos](#howtos)
* [Papers](#Papers)
* [Talks/Videos](#talks)
* [Tools](#Tools)
* [Miscellaneous](#misc)
#### Cull
* [Technical analysis of client identification mechanisms](http://www.chromium.org/Home/chromium-security/client-identification-mechanisms)
* [Client Identification Mechanisms](http://www.chromium.org/Home/chromium-security/client-identification-mechanisms)
#### General
* [OS X Security and Privacy Guide](https://github.com/drduh/OS-X-Security-and-Privacy-Guide)
* [Bugger - Adam Curtis](http://www.bbc.co.uk/blogs/adamcurtis/entries/3662a707-0af9-3149-963f-47bea720b460)
* Maybe the real state secret is that spies aren't very good at their jobs and
don't know much about the world
* [Mobile Phone Data lookup](https://medium.com/@philipn/want-to-see-something-crazy-open-this-link-on-your-phone-with-wifi-turned-off-9e0adb00d024)
#### Blogposts
* [De-Anonymizing Alt.Anonymous.Messages](https://ritter.vg/blog-deanonymizing_amm.html)
* [Defeating and Detecting Browser Spoofing - Browserprint](https://browserprint.info/blog/defeatingSpoofing)
* [Invasion of Privacy - HackerFactor](http://www.hackerfactor.com/blog/index.php?/archives/703-Invasion-of-Privacy.html)
* [Trawling Tor Hidden Service – Mapping the DHT](https://donncha.is/2013/05/trawling-tor-hidden-services/)
* [China travel laptop setup](https://mricon.com/i/travel-laptop-setup.html?t=1&cn=ZmxleGlibGVfcmVjcw%3D%3D&iid=88d246896d384d5292f51df954a2c8ba&uid=150127534&nid=244+272699400)
* [Operational Security and the Real World - The Grugq](https://medium.com/@thegrugq/operational-security-and-the-real-world-3c07e7eeb2e8)
* [CIA Vault7 Development Tradecraft DOs and DON'Ts](https://wikileaks.org/ciav7p1/cms/page_14587109.html)
* [Dutch-Russian cyber crime case reveals how police tap the internet - ElectroSpaces](http://electrospaces.blogspot.de/2017/06/dutch-russian-cyber-crime-case-reveals.html?m=1)
* [Deanonymizing Windows users and capturing Microsoft and VPN accounts](https://medium.com/@ValdikSS/deanonymizing-windows-users-and-capturing-microsoft-and-vpn-accounts-f7e53fe73834)
* [The Paranoid's Bible: An anti-dox effort.](https://paranoidsbible.tumblr.com/)
* [Debian-Privacy-Server-Guide](https://github.com/drduh/Debian-Privacy-Server-Guide)
* This is a step-by-step guide to configuring and managing a domain, remote
server and hosted services, such as VPN, a private and obfuscated Tor
bridge, and encrypted chat, using the Debian GNU/Linux operating system and
other free software.
* [Reminder: Oh, Won't You Please Shut Up? - USA](https://www.popehat.com/2011/12/01/reminder-oh-wont-you-please-shut-up/)
#### Articles
* [De-anonymizing facebook users through CSP](http://www.myseosolution.de/deanonymizing-facebook-users-by-csp-bruteforcing/#inhaltsverzeichnis)
* [Anonymous’s Guide to OpSec](http://www.covert.io/research-papers/security/Anonymous%20Hacking%20Group%20--%20OpNewblood-Super-Secret-Security-Handbook.pdf)
* [Cat Videos and the Death of Clear Text](https://citizenlab.org/2014/08/cat-video-and-the-death-of-clear-text/)
* [How to Spot a SpoCTok](https://cryptome.org/dirty-work/spot-spook.htm)
* [China travel laptop setup](https://mricon.com/i/travel-laptop-setup.html?t=1&cn=ZmxleGlibGVfcmVjcw%3D%3D&iid=88d246896d384d5292f51df954a2c8ba&uid=150127534&nid=244+272699400)
* [Operational Security and the Real World - The Grugq](https://medium.com/@thegrugq/operational-security-and-the-real-world-3c07e7eeb2e8)
* [Protecting Your Sources When Releasing Sensitive Documents](https://source.opennews.org/articles/how-protect-your-sources-when-releasing-sensitive-/)
* [Bugger - Adam Curtis](http://www.bbc.co.uk/blogs/adamcurtis/entries/3662a707-0af9-3149-963f-47bea720b460)
* Maybe the real state secret is that spies aren't very good at their jobs and
don't know much about the world
* [Detect Tor Exit doing sniffing by passively detecting unique DNS query (via HTML & PCAP parsing/viewing)](https://github.com/NullHypothesis/exitmap/issues/37)
* [Managing Pseudonyms with Compartmentalization: Identity Management of Personas](https://www.alienvault.com/blogs/security-essentials/managing-pseudonyms-with-compartmentalization-identity-management-of-personas)
* [Data release: list of websites that have third-party “session replay” scripts ](https://webtransparency.cs.princeton.edu/no_boundaries/session_replay_sites.html)
* [No boundaries: Exfiltration of personal data by session-replay scripts](https://freedom-to-tinker.com/2017/11/15/no-boundaries-exfiltration-of-personal-data-by-session-replay-scripts/)
#### How-Tos
* [How to stop Firefox from making automatic connections](https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections)
#### Papers
* [Protocol Misidentification Made Easy with Format-Transforming Encryption](https://eprint.iacr.org/2012/494.pdf)
* Deep packet inspection DPI technologies provide much- needed visibility and
control of network traffic using port- independent protocol identification,
where a network ow is labeled with its application-layer protocol based on
packet contents. In this paper, we provide the most comprehensive evaluation
of a large set of DPI systems from the point of view of protocol
misidentification attacks, in which adver- saries on the network attempt to
force the DPI to mislabel connections. Our approach uses a new cryptographic
primitive called format-transforming encryption FTE, which extends
conventional symmetric encryption with the ability to transform the
ciphertext into a format of our choosing. We design an FTE-based record
layer that can encrypt arbi- trary application-layer traffic, and we
experimentally show that this forces misidentification for all of the
evaluated DPI systems. This set includes a proprietary, enterprise-class DPI
system used by large corporations and nation-states. We also show that using
FTE as a proxy system incurs no latency overhead and as little as 16%
bandwidth overhead compared to standard SSH tunnels. Finally, we integrate
our FTE proxy into the Tor anonymity network and demonstrate that it evades
real-world censorship by the Great Firewall of China.
* ['I've Got Nothing to Hide' and Other Misunderstandings of Privacy](http://papers.ssrn.com/sol3/papers.cfm?abstract_id=998565&)
* We live in a surveillance state. Law enforcement and intelligence agencies
have access to a huge amount of data about us, enabling them to learn
intimate, private details about our lives. In part, the ease with which they
can obtain such information reflects the fact that our laws have failed to
keep up with advances in technology. However, privacy enhancing technologies
can offer real protections even when the law does not. That intelligence
agencies like the NSA are able to collect records about every telephone call
made in the United States, or engage in the bulk surveillance of Internet
communications is only possible because so much of our data is transmitted
in the clear. The privacy enhancing technologies required to make bulk
surveillance impossible and targeted surveillance more difficult already
exist. We just need to start using them.
* [Masquerade: How a Helpful Man-in-the-Middle Can Help You Evade Monitoring\** - Defcon22](https://www.youtube.com/watch?v=_KyfJW2lHtk&spfreload=1)
* Sometimes, hiding the existence of a communication is as important as hiding
the contents of that communication. While simple network tunneling such as
Tor or a VPN can keep the contents of communications confidential, under
active network monitoring or a restrictive IDS such tunnels are red flags
which can subject the user to extreme scrutiny. Format-Transforming
Encryption FTE can be used to tunnel traffic within otherwise innocuous
protocols, keeping both the contents and existence of the sensitive traffic
hidden. However, more advanced automated intrusion detection, or moderately
sophisticated manual inspection, raise other red flags when a host reporting
to be a laser printer starts browsing the web or opening IM sessions, or
when a machine which appears to be a Mac laptop sends network traffic using
Windows-specific network settings. We present Masquerade: a system which
combines FTE and host OS profile selection to allow the user to emulate a
user-selected operating system and application-set in network traffic and
settings, evading both automated detection and frustrating after-the-fact
analysis.
* [Slides](https://www.portalmasq.com/portal-defcon.pdf)
* [The NSA: Capabilities and Countermeasures\** - Bruce Schneier - ShmooCon 2014](https://www.youtube.com/watch?v=D5JA8Ytk9EI)
* Edward Snowden has given us an unprecedented window into the NSA's
surveillance activities. Drawing from both the Snowden documents and
revelations from previous whistleblowers, I will describe the sorts of
surveillance the NSA does and how it does it. The emphasis is on the
technical capabilities of the NSA, not the politics of their actions. This
includes how it conducts Internet surveillance on the backbone, but is
primarily focused on their offensive capabilities: packet injection attacks
from the Internet backbone, exploits against endpoint computers and implants
to exfiltrate information, fingerprinting computers through cookies and
other means, and so on. I will then talk about what sorts of countermeasures
are likely to frustrate the NSA. Basically, these are techniques to raise
the cost of wholesale surveillance in favor of targeted surveillance:
encryption, target hardening, dispersal, and so on.
* [You're Leaking Trade Secrets - Defcon22 Michael Schrenk](https://www.youtube.com/watch?v=JTd5TL6_zgY)
* Networks don't need to be hacked for information to be compromised. This is
particularly true for organizations that are trying to keep trade secrets.
While we hear a lot about personal privacy, little is said in regard to
organizational privacy. Organizations, in fact, leak information at a much
greater rate than individuals, and usually do so with little fanfare. There
are greater consequences for organizations when information is leaked
because the secrets often fall into the hands of competitors. This talk uses
a variety of real world examples to show how trade secrets are leaked
online, and how organizational privacy is compromised by seemingly innocent
use of The Internet.
* [Deep-Spying: Spying using Smartwatch and Deep Learning - Tony Beltramelli](https://arxiv.org/pdf/1512.05616v1.pdf)
* [HORNET: High-speed Onion Routing at the Network Layer](http://arxiv.org/pdf/1507.05724v1.pdf)
* [Decoy Routing: Toward Unblockable Internet Communication](https://www.usenix.org/legacy/events/foci11/tech/final_files/Karlin.pdf)
* We present decoy routing, a mechanism capable of cir- cumventing common
network filtering strategies. Unlike other circumvention techniques, decoy
routing does not require a client to connect to a specific IP address (which
is easily blocked) in order to provide circumvention. We show that if it is
possible for a client to connect to any unblocked host/service, then decoy
routing could be used to connect them to a blocked destination without coop-
eration from the host. This is accomplished by placing the circumvention
service in the network itself – where a single device could proxy traffic
between a significant fraction of hosts – instead of at the edge.
* [obfs4 (The obfourscator)](https://gitweb.torproject.org/pluggable-transports/obfs4.git/tree/doc/obfs4-spec.txt)
* This is a protocol obfuscation layer for TCP protocols. Its purpose is to
keep a third party from telling what protocol is in use based on message
contents. Unlike obfs3, obfs4 attempts to provide authentication and data
integrity, though it is still designed primarily around providing a layer of
obfuscation for an existing authenticated protocol like SSH or TLS.
* [obfs3 (The Threebfuscator)](https://gitweb.torproject.org/pluggable-transports/obfsproxy.git/tree/doc/obfs3/obfs3-protocol-spec.txt)
* This is a protocol obfuscation layer for TCP protocols. Its purpose is to
keep a third party from telling what protocol is in use based on message
contents. Like obfs2, it does not provide authentication or data integrity.
It does not hide data lengths. It is more suitable for providing a layer of
obfuscation for an existing authenticated protocol, like SSH or TLS.
* [StegoTorus: A Camouflage Proxy for the Tor Anonymity System](https://research.owlfolio.org/pubs/2012-stegotorus.pdf)
* Internet censorship by governments is an increasingly common practice
worldwide. Internet users and censors are locked in an arms race: as users
find ways to evade censorship schemes, the censors develop countermeasures
for the evasion tactics. One of the most popular and effective circumvention
tools, Tor, must regularly adjust its network traffic signature to remain
usable. We present StegoTorus, a tool that comprehensively disguises Tor
from protocol analysis. To foil analysis of packet contents, Tor’s traffic
is steganographed to resemble an innocuous cover protocol, such as HTTP. To
foil analysis at the transport level, the Tor circuit is distributed over
many shorter-lived connections with per-packet characteristics that mimic
cover-protocol traffic. Our evaluation demonstrates that StegoTorus improves
the resilience of Tor to fingerprinting attacks and delivers usable
performance.
* [SkypeMorph: Protocol Obfuscation for Tor Bridges](https://www.cypherpunks.ca/~iang/pubs/skypemorph-ccs.pdf)
* The Tor network is designed to provide users with low- latency anonymous
communications. Tor clients build circuits with publicly listed relays to
anonymously reach their destinations. However, since the relays are publicly
listed, they can be easily blocked by censoring adversaries. Consequently,
the Tor project envisioned the possibility of unlisted entry points to the
Tor network, commonly known as bridges. We address the issue of preventing
censors from detecting the bridges by observing the communications between
them and nodes in their network. We propose a model in which the client
obfuscates its messages to the bridge in a widely used protocol over the
Inter- net. We investigate using Skype video calls as our target protocol
and our goal is to make it difficult for the censor- ing adversary to
distinguish between the obfuscated bridge connections and actual Skype calls
using statistical compar- isons. We have implemented our model as a
proof-of-concept pluggable transport for Tor, which is available under an
open-source licence. Using this implementation we observed the obfuscated
bridge communications and compared it with those of Skype calls and
presented the results.
* [Protocol Misidentification Made Easy with Format-Transforming Encryption](https://kpdyer.com/publications/ccs2013-fte.pdf)
* Deep packet inspection (DPI) technologies provide much needed visibility and
control of network traffic using port- independent protocol identification,
where a network flow is labeled with its application-layer protocol based on
packet contents. In this paper, we provide the first comprehensive
evaluation of a large set of DPI systems from the point of view of protocol
misidentification attacks, in which adver- saries on the network attempt to
force the DPI to mislabel connections. Our approach uses a new cryptographic
prim- itive called format-transforming encryption (FTE), which extends
conventional symmetric encryption with the ability to transform the
ciphertext into a format of our choosing. We design an FTE-based record
layer that can encrypt arbitrary application-layer traffic, and we
experimentally show that this forces misidentification for all of the
evaluated DPI systems. This set includes a proprietary, enterprise-class DPI
system used by large corporations and nation-states. We also show that using
FTE as a proxy system incurs no latency overhead and as little as 16%
bandwidth overhead compared to standard SSH tunnels. Finally, we integrate
our FTE proxy into the Tor anonymity network and demon- strate that it
evades real-world censorship by the Great Fire- wall of China
* [Cirripede: Circumvention Infrastructure using Router Redirection with Plausible Deniability](http://hatswitch.org/~nikita/papers/cirripede-ccs11.pdf)
* Many users face surveillance of their Internet communications and a
significant fraction suffer from outright blocking of certain destinations.
Anonymous communication systems allow users to conceal the destinations they
communicate with, but do not hide the fact that the users are using them.
The mere use of such systems may invite suspicion, or access to them may be
blocked. We therefore propose Cirripede, a system that can be used for
unobservable communication with Internet destinations. Cirripede is designed
to be deployed by ISPs; it intercepts connections from clients to
innocent-looking desti- nations and redirects them to the true destination
requested by the client. The communication is encoded in a way that is
indistinguishable from normal communications to anyone without the master
secret key, while public-key cryptogra- phy is used to eliminate the need
for any secret information that must be shared with Cirripede users.
Cirripede is designed to work scalably with routers that handle large
volumes of traffic while imposing minimal over- head on ISPs and not
disrupting existing traffic. This allows Cirripede proxies to be
strategically deployed at central lo- cations, making access to Cirripede
very difficult to block. We built a proof-of-concept implementation of
Cirripede and performed a testbed evaluation of its performance proper- ties
* [TapDance: End-to-Middle Anticensorship without Flow Blocking](https://jhalderm.com/pub/papers/tapdance-sec14.pdf)
* In response to increasingly sophisticated state-sponsored Internet
censorship, recent work has proposed a new ap- proach to censorship
resistance: end-to-middle proxying. This concept, developed in systems such
as Telex, Decoy Routing, and Cirripede, moves anticensorship technology into
the core of the network, at large ISPs outside the censoring country. In
this paper, we focus on two technical obstacles to the deployment of certain
end-to-middle schemes: the need to selectively block flows and the need to
observe both directions of a connection. We propose a new construction,
TapDance, that removes these require- ments. TapDance employs a novel
TCP-level technique that allows the anticensorship station at an ISP to
function as a passive network tap, without an inline blocking com- ponent.
We also apply a novel steganographic encoding to embed control messages in
TLS ciphertext, allowing us to operate on HTTPS connections even under
asymmetric routing. We implement and evaluate a TapDance proto- type that
demonstrates how the system could function with minimal impact on an ISP’s
network operations.
* [Chipping Away at Censorship Firewalls with User-Generated Content](https://www.usenix.org/legacy/event/sec10/tech/full_papers/Burnett.pdf)
* Oppressive regimes and even democratic governments restrict Internet access.
Existing anti-censorship systems often require users to connect through
proxies, but these systems are relatively easy for a censor to discover and
block. This paper offers a possible next step in the cen- sorship arms race:
rather than relying on a single system or set of proxies to circumvent
censorship firewalls, we explore whether the vast deployment of sites that
host user-generated content can breach these firewalls. To explore this
possibility, we have developed Collage, which allows users to exchange
messages through hidden chan- nels in sites that host user-generated
content. Collage has two components: a message vector layer for embedding
content in cover traffic; and a rendezvous mechanism to allow parties to
publish and retrieve messages in the cover traffic. Collage uses
user-generated content (e.g. , photo-sharing sites) as “drop sites” for
hidden messages. To send a message, a user embeds it into cover traffic and
posts the content on some site, where receivers retrieve this content using
a sequence of tasks. Collage makes it difficult for a censor to monitor or
block these messages by exploiting the sheer number of sites where users can
exchange messages and the variety of ways that a mes- sage can be hidden.
Our evaluation of Collage shows that the performance overhead is acceptable
for sending small messages (e.g. , Web articles, email). We show how Collage
can be used to build two applications: a direct messaging application, and a
Web content delivery sys- tem
* [Unblocking the Internet: Social networks foil censors](http://kscope.news.cs.nyu.edu/pub/TR-2008-918.pdf)
* Many countries and administrative domains exploit control over their
communication infrastructure to censor online content. This paper presents
the design, im plementation and evaluation of Kaleidoscope , a peer-to-peer
system of relays that enables users within a censored domain to access
blocked content. The main challenge facing Kaleidoscope is to resist the
cens or’s efforts to block the circumvention system itself. Kaleidoscope
achieves blocking-resilienc e using restricted service discovery that allows
each user to discover a small set of unblocked relays while only exposing a
small fraction of relays to the censor. To restrict service discovery,
Kaleidoscope leverages a trust network where links reflects real-world
social relationships among users and uses a limited advertisement protocol
based on random routes to disseminate relay addresses along the trust netwo
rk; the number of nodes reached by a relay advertisement should ideally be
inversely proportional to the maximum fraction of infiltration and is
independent of the network size. To increase service availa bility in large
networks with few exit relay nodes, Kaleidoscope forwards the actual data
traffic across multiple relay hops without risking exposure of exit relays.
Using detailed analysis and simulations, we show that Kalei doscope
provides > 90% service availability even under substantial infiltration
(close to 0.5% of edges) and when only 30% of the relay nodes are online. We
have implemented and deployed our system on a small scale serving over
100,000 requests to 40 censored users (relatively small user base to realize
Kaleidoscope’s anti-blocking guarantees) spread across different countries
and administrative domains over a 6-month period
* [A Technical Description of Psiphon](https://psiphon.ca/en/blog/psiphon-a-technical-description)
* [Discovering Browser Extensions via Web Accessible Resources - Chalmers security lab](http://www.cse.chalmers.se/research/group/security/publications/2017/extensions/codaspy-17-full.pdf)
#### Talks & Videos (& Presentations)
* [Cookieless Monster: Exploring the Ecosystem of Web-based Device Fingerprinting](http://securitee.org/files/cookieless_sp2013.pdf)
* [Because Jail is for WUFTPD - Legendary talk, a must watch.](https://www.youtube.com/watch?v=9XaYdCdwiWU)
* [The Gruqgs blog](http://grugq.tumblr.com/)
* [COMSEC: Beyond encryption](https://grugq.github.io/presentations/COMSEC%20beyond%20encryption.pdf)
* [DEFCON 20: Can You Track Me Now? Government And Corporate Surveillance Of Mobile Geo-Location Data](https://www.youtube.com/watch?v=NjuhdKUH6U4)
* [Detecting and Defending Against a Surveillance State - DEFCON 22 - Robert Rowley](https://www.youtube.com/watch?v=d5jqV06Yijw)
* [Detecting and Defending Against a Surveillance State - Robert Rowley - DEF CON 22](https://www.youtube.com/watch?v=d5jqV06Yijw)
* [The NSA: Capabilities and Countermeasures - ShmooCon 2014](https://www.youtube.com/watch?v=D5JA8Ytk9EI)
* [Blinding The Surveillance State - Christopher Soghoian - DEF CON 22](https://www.youtube.com/watch?v=pM8e0Dbzopk)
* [Client Identification Mechanisms](http://www.chromium.org/Home/chromium-security/client-identification-mechanisms)
* [Can you track me now? - Defcon20](https://wEww.youtube.com/watch?v=DxIF66Tcino)
* [Phones and Privacy for Consumers - Matt Hoy (mattrix) and David Khudaverdyan (deltaflyer)](http://www.irongeek.com/i.php?page=videos/grrcon2015/submerssion-therapy05-phones-and-privacy-for-consumers-matt-hoy-mattrix-and-david-khudaverdyan-deltaflyerhttps://ritter.vg/blog-deanonymizing_amm.html)
* [Retail Surveillance / Retail Countersurveillance 50 most unwanted retail surveillance technologies / 50 most wanted countersurveillance technologies](https://media.ccc.de/v/33c3-8238-retail_surveillance_retail_countersurveillance#video&t=1993)
* [OPSEC Concerns in Using Crypto](https://www.slideshare.net/JohnCABambenek/defcon-crypto-village-opsec-concerns-in-using-crypto)
* [De-Anonymizing Alt.Anonymous. Messages - Defcon21 - Tom Ritter](https://www.youtube.com/watch?v=_Tj6c2Ikq_E)
* [PISSED: Privacy In a Surveillance State Evading Detection - Joe Cicero - CYPHERCON11 ](https://www.youtube.com/watch?v=keA3WcKwZwA)
* [What Happens Next Will Amaze You](http://idlewords.com/talks/what_happens_next_will_amaze_you.htm#six_fixes)
* [Wifi Tracking: Collecting the (probe) Breadcrumbs - David Switzer](https://www.youtube.com/watch?v=HzQHWUM8cNo)
* Wifi probes have provided giggles via Karma and Wifi Pineapples for years,
but is there more fun to be had? Like going from sitting next to someone on
a bus, to knowing where they live and hang out? Why try to MITM someone’s
wireless device in an enterprise environment where they may notice — when
getting them at their favorite burger joint is much easier. In this talk we
will review ways of collecting and analyzing probes. We’ll use the resulting
data to figure out where people live, their daily habits, and discuss uses
(some nice, some not so nice) for this information. We’ll also dicuss how to
make yourself a little less easy to track using these methods. Stingrays are
price prohibitive, but for just tracking people’s movements.. this is cheap
and easy.
* [How Tor Users Got Caught - Defcon 22](https://www.youtube.com/watch?v=7G1LjQSYM5Q) \*
[Part 2](https://www.youtube.com/watch?v=TQ2bk9kMneI)
* [Article - How Tor Users Got Caught by Government Agencies](http://se.azinstall.net/2015/11/how-tor-users-got-caught.html)
* [You Are Being Tracked: How License Plate Readers Are Being Used to Record Americans' Movements - ACLU](https://www.aclu.org/other/you-are-being-tracked-how-license-plate-readers-are-being-used-record-americans-movements?redirect=technology-and-liberty/you-are-being-tracked-how-license-plate-readers-are-being-used-record)
* [Deep Dive Into Tor Onion Services - David Goulet](https://www.youtube.com/watch?v=AkoyCLAXVsc)
* [Winning and Quitting the Privacy Game What it REALLY takes to have True Privacy in the 21st Century - Derbycon 7](https://www.youtube.com/watch?v=bxQSu06yuZc)
#### Tools
* [FakeNameGenerator](http://www.fakenamegenerator.com/)
* [MAT: Metadata Anonymisation Toolkit](https://mat.boum.org/)
* MAT is a toolbox composed of a GUI application, a CLI application and a
library.
* [fteproxy](https://fteproxy.org/about)
* fteproxy is fast, free, open source, and cross platform. It has been shown
to circumvent network monitoring software such as bro, YAF, nProbe,
l7-filter, and appid, as well as closed-source commercial DPI systems
* [Streisand](https://github.com/jlund/streisand)
* Streisand sets up a new server running L2TP/IPsec, OpenSSH, OpenVPN,
Shadowsocks, sslh, Stunnel, and a Tor bridge. It also generates custom
configuration instructions for all of these services. At the end of the run
you are given an HTML file with instructions that can be shared with
friends, family members, and fellow activists.
* [exitmap](https://github.com/NullHypothesis/exitmap)
* Exitmap is a fast and modular Python-based scanner for Tor exit relays.
Exitmap modules implement tasks that are run over (a subset of) all exit
relays. If you have a background in functional programming, think of exitmap
as a map() interface for Tor exit relays. Modules can perform any TCP-based
networking task; fetching a web page, uploading a file, connecting to an SSH
server, or joining an IRC channel.
* [OnionCat - an Anonymous VPN adapter](https://www.onioncat.org/about-onioncat/)
* [howmanypeoplearearound](https://github.com/schollz/howmanypeoplearearound)
* Count the number of people around you 👨‍👨‍👦 by monitoring wifi signals 📡
* [Decentraleyes](https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/)
* Protects you against tracking through "free", centralized, content delivery.
It prevents a lot of requests from reaching networks like Google Hosted
Libraries, and serves local files to keep sites from breaking. Complements
regular content blockers.
* [Decentraleyes - Github](https://github.com/Synzvato/decentraleyes)
* A web browser extension that emulates Content Delivery Networks to improve
your online privacy. It intercepts traffic, finds supported resources
locally, and injects them into the environment. All of this happens
automatically, so no prior configuration is required.
* [Destroy-Windows-10-Spying](https://github.com/Nummer/Destroy-Windows-10-Spying)
* Destroy Windows Spying tool
* [meek](https://github.com/Yawning/meek)
* meek is a blocking-resistant pluggable transport for Tor. It encodes a data
stream as a sequence of HTTPS requests and responses. Requests are reflected
through a hard-to-block third-party web server in order to avoid talking
directly to a Tor bridge. HTTPS encryption hides fingerprintable byte
patterns in Tor traffic.sek
* [HTTPLeaks](https://github.com/cure53/HTTPLeaks)
* HTTPLeaks - All possible ways, a website can leak HTTP requests
#### Misc
* [.NET Github: .NET core should not SPY on users by default #3093](https://github.com/dotnet/cli/issues/3093)
* [.NET Github: Revisit Telemetry configuration #6086 ](https://github.com/dotnet/cli/issues/6086)

+ 0
- 744
Sphinx/source/Attacking-Defending-Android.md View File

@ -1,744 +0,0 @@
## Attacking Android Devices
### Table of Contents
* [Cull](#Cull)
* [Intro](#Intro)
* [Android Internals](#AInternals)
* [Securing Android](#SecAnd)
* [Android Apps](#Apps)
* [Vulnerabilities](#Vulns)
* [Exploits](#Exploits)
* [Device Analysis](#DAnalysis)
* [Application Analysis](#AppAnalysis)
* Dynamic Analysis
* Static Analysis
* [Online APK Analyzers](#OnlineAPK)
* [Attack Platforms](#APlatforms)
* [Android Malware](#Malware)
* [Reverse Engineering Android](#RE)
* [Interesting Papers](#Papers)
* [Write-ups](#Write)
* [Educational Materials](#Education)
* [Books](#Books)
* [Other](#Other)
#### Cull
* [When 'EFBFBD' and Friends Come Knocking: Observations of Byte Array to String Conversions](https://blog.gdssecurity.com/labs/2015/2/18/when-efbfbd-and-friends-come-knocking-observations-of-byte-a.html)
* [Intercepting HTTPS traffic of Android Nougat Applications](https://serializethoughts.com/2016/09/10/905/)
* TL;DR To intercept network traffic for Android 7.0 targeted applications,
introduce a res/xml/network_security_config.xml file.
* http://nelenkov.blogspot.com
* [Add Security Exception to APK](https://github.com/levyitay/AddSecurityExceptionAndroid)
* [DonkeyGuard](https://github.com/CollegeDev/DonkeyGuard/)
* DonkeyGuard allows you a fine-grained tuning of access to your private data.
It currently supports 41 restrictions which can be applied for every
application. Specifically, it is a Privacy service provider which implements
a set of modifications to the Android Framework to allow you to interact
with applications which are trying to access your private data.
* [The Android boot process](https://thecyberfibre.com/android-boot-process/)
* [Miroslav Stampar - Android: Practical Introduction into the (In)Security](https://www.youtube.com/watch?v=q1_rvrY4VHI)
* This presentation covers the user’s deadly sins of Android (In)Security,
together with implied system security problems. Each topic could potentially
introduce unrecoverable damage from security perspective. Both local and
remote attacks are covered, along with accompanying practical demo of most
interesting ones.
### General
* [Droidsec - Pretty much should be your first stop](http://www.droidsec.org/wiki/)
* [Hacking Your Way Up The Mobile Stack](http://vimeo.com/51270090)
* [csploit](http://www.csploit.org/docs.html)
* "The most complete and advanced IT security professional toolkit on
Android."(From their site)
* [Github Link](https://github.com/cSploit/android/tree/master/cSploit)
* [Mobile Application Penetration Testing Cheat Sheet](https://github.com/tanprathan/MobileApp-Pentest-Cheatsheet)
### Android Internals
* [Dalvik opcodes](http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html)
* [Dalvik Bytecode Format docs](http://source.android.com/devices/tech/dalvik/dex-format.html)
* [The Android boot process from power on](http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html)
* [Trusted Execution Environments and Android](https://usmile.at/sites/default/files/androidsecuritysymposium/presentations/Ekberg_AndroidAndTrustedExecutionEnvironments.pdf)
### Securing Android
* [Android (In)Security (Defcamp 2014)](https://www.youtube.com/watch?v=2aeV1JXYvuQ&index=23&list=PLnwq8gv9MEKgSryzYIFhpmCcqnVzdUWfH)
* [Android Forensics Class](http://opensecuritytraining.info/AndroidForensics.html)
* Free - This class serves as a foundation for mobile digital forensics,
forensics of Android operating systems, and penetration testing of Android
applications.
* [Android Hardening Guide by the TOR developers](https://blog.torproject.org/blog/mission-impossible-hardening-android-security-and-privacy)
* This blog post describes the installation and configuration of a prototype
of a secure, full-featured, Android telecommunications device with full Tor
support, individual application firewalling, true cell network baseband
isolation, and optional ZRTP encrypted voice and video support. ZRTP does
run over UDP which is not yet possible to send over Tor, but we are able to
send SIP account login and call setup over Tor independently. The SIP client
we recommend also supports dialing normal telephone numbers if you have a
SIP gateway that provides trunking service. Aside from a handful of binary
blobs to manage the device firmware and graphics acceleration, the entire
system can be assembled (and recompiled) using only FOSS components.
However, as an added bonus, we will describe how to handle the Google Play
store as well, to mitigate the two infamous Google Play Backdoors.
* [Android 4.0+ Hardening Guide/Checklist by University of Texas](https://wikis.utexas.edu/display/ISO/Google+Android+Hardening+Checklist)
* [Mobile self-defense - Karsten Nohl](https://www.youtube.com/watch?v=GeCkO0fWWqc)
#### Applications
* [Android Firewall(Requires Root)](https://play.google.com/store/apps/details?id=com.jtschohl.androidfirewall&hl=en)
* Xprivacy - The Ultimate Android Privacy Manager(Requires Root
* [Github](https://github.com/M66B/XPrivacy)
* [Google Play](https://play.google.com/store/apps/details?id=biz.bokhorst.xprivacy.installer&hl=en)
#### Backups
* [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup)
* Personal favorite for making backups. Backups are stored locally or
automatically to various cloud services.
* [Helium Backup(Root Not Required)](https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=en) \*
* Backs up data locally or to various cloud services. Local client available
for backups directly to PC.
* [Stunneller](https://github.com/ultramancool/Stunneler)
* Android app for easy stunnel usage
### Encryption
* Check the Encryption section of the overall guide for more information.
* [Android Reverse Engineering Defenses](https://bluebox.com/wp-content/uploads/2013/05/AndroidREnDefenses201305.pdf)
#### Vulnerabilities
* [List of Android Vulnerabilities](http://androidvulnerabilities.org/all)
* [AndroBugs Framework](https://github.com/AndroBugs/AndroBugs_Framework)
* AndroBugs Framework is an Android vulnerability analysis system that helps
developers or hackers find potential security vulnerabilities in Android
applications
#### Exploits
* [List of Android Exploits](https://github.com/droidsec/droidsec.github.io/wiki/Vuln-Exploit-List)
* [Android_Kernel_CVE_POC](https://github.com/ScottyBauer/Android_Kernel_CVE_POCs)
* [plzdonthack.me](https://plzdonthack.me/)
* Personal site of Scotty Bauer
### Device Analysis
* [android-cluster-toolkit](https://github.com/jduck/android-cluster-toolkit)
* The Android Cluster Toolkit helps organize and manipulate a collection of
Android devices. It was designed to work with a collection of devices
connected to the same host machine, either directly or via one or more tiers
of powered USB hubs. The tools within can operate on single devices, a
selected subset, or all connected devices at once.
* [privmap - android](https://github.com/jduck/privmap)
* A tool for enumerating the effective privileges of processes on an Android
device.
* [canhazaxs](https://github.com/jduck/canhazaxs)
* A tool for enumerating the access to entries in the file system of an
Android device.
* [Android Device Testing Framework(DTF)](https://github.com/jakev/dtf/tree/v1.0.3)
* The Android Device Testing Framework ("dtf") is a data collection and
analysis framework to help individuals answer the question: "Where are the
vulnerabilities on this mobile device?" Dtf provides a modular approach and
built-in APIs that allows testers to quickly create scripts to interact with
their Android devices. The default download of dtf comes with multiple
modules that allow testers to obtain information from their Android device,
process this information into databases, and then start searching for
vulnerabilities (all without requiring root privileges). These modules help
you focus on changes made to AOSP components such as applications,
frameworks, system services, as well as lower-level components such as
binaries, libraries, and device drivers. In addition, you'll be able to
analyze new functionality implemented by the OEMs and other parties to find
vulnerabilities.
* [drozer](https://github.com/mwrlabs/drozer)
* drozer allows you to search for security vulnerabilities in apps and devices
by assuming the role of an app and interacting with the Dalvik VM, other
apps' IPC endpoints and the underlying OS.
### Application Analysis
* [APK Studio - Android Reverse Engineering](https://apkstudio.codeplex.com/)
* APK Studio is an IDE for decompiling/editing & then recompiling of android
application binaries. Unlike initial release being Windows exclusive & also
didn't support frameworks, this one is completely re-written using QT for
cross-platform support. You can now have multiple frameworks installed &
pick a particular one on a per project basis.
* [Smali Control-Flow-Graphs](https://github.com/EugenioDelfa/Smali-CFGs)
* [PID Cat](https://github.com/JakeWharton/pidcat)
* An update to Jeff Sharkey's excellent logcat color script which only shows
log entries for processes from a specific application package. During
application development you often want to only display log messages coming
from your app. Unfortunately, because the process ID changes every time you
deploy to the phone it becomes a challenge to grep for the right thing. This
script solves that problem by filtering by application package. Supply the
target package as the sole argument to the python script and enjoy a more
convenient development process.
* [AndBug - Scriptable Android Debugger](https://github.com/swdunlop/AndBug)
* AndBug is a debugger targeting the Android platform's Dalvik virtual machine
intended for reverse engineers and developers. It uses the same interfaces
as Android's Eclipse debugging plugin, the Java Debug Wire Protocol (JDWP)
and Dalvik Debug Monitor (DDM) to permit users to hook Dalvik methods,
examine process state, and even perform changes.
* [android-lkms](https://github.com/strazzere/android-lkms)
* Android Loadable Kernel Modules - mostly used for reversing and debugging on
controlled systems/emulators.
* [Simplify - Simple Android De-obfuscator](https://github.com/CalebFenton/simplify)
* Simplify uses a virtual machine to understand what an app does. Then, it
applies optimizations to create code that behaves identically, but is easier
for a human to understand. Specifically, it takes Smali files as input and
outputs a Dex file with (hopefully) identical semantics but less complicated
structure.
* [Cuckoo-Droid](https://github.com/i[danr1986/cuckoo-droid/blob/master/README.md)
* CuckooDroid is an extension of Cuckoo Sandbox the Open Source software for
automating analysis of suspicious files, CuckooDroid brigs to cuckoo the
capabilities of execution and analysis of android application.
* [elsim - Elements Similarities](https://code.google.com/p/elsim/wiki/Similarity#Diffing_of_applications)
* Similarities/Differences of applications (aka rip-off indicator)
* This tool detects and reports: the identical methods; the similar methods;
the deleted methods; the new methods; the skipped methods.
### Dynamic Analysis
* [APKInspector](https://github.com/honeynet/apkinspector)
* APKinspector is a powerful GUI tool for analysts to analyze the Android
applications.
* [DroidBox](https://code.google.com/p/droidbox/)
* DroidBox is developed to offer dynamic analysis of Android applications.
Additionally, two images are generated visualizing the behavior of the
package. One showing the temporal order of the operations and the other one
being a treemap that can be used to check similarity between analyzed
packages.
* [ddi - Dynamic Dalvik Instrumentation Toolkit](ttps://github.com/crmulliner/ddi)
* Simple and easy to use toolkit for dynamic instrumentation of Dalvik code.
Instrumentation is based on library injection and hooking method entry
points (in-line hooking). The actual instrumentation code is written using
the JNI interface. The DDI further supports loading additional dex classes
into a process. This enables instrumentation code to be partially written in
Java and thus simplifies interacting with the instrumented process and the
Android framework.
* [Hooker](https://github.com/AndroidHooker/hooker)
* Hooker is an opensource project for dynamic analyses of Android
applications. This project provides various tools and applications that can
be use to automaticaly intercept and modify any API calls made by a targeted
application. It leverages Android Substrate framework to intercept these
calls and aggregate all their contextual information (parameters, returned
values, ...). Collected information can either be stored in a distributed
database (e.g. ElasticSearch) or in json files. A set of python scripts is
also provided to automatize the execution of an analysis to collect any API
calls made by a set of applications.
* [Android-SSL-TrustKiller](https://github.com/iSECPartners/Android-SSL-TrustKiller)
* Blackbox tool to bypass SSL certificate pinning for most applications
running on a device.
* [JustTrustMe - Cert Pinning using Xposed](https://github.com/fuzion24/justtrustme)
* An xposed module that disables SSL certificate checking. This is useful for
auditing an appplication which does certificate pinning. You can read about
the practice of cert pinning here(1). There also exists a nice framework
built by @moxie to aid in pinning certs in your app: certificate pinning
- [AndroidPinning](https://github.com/moxie0/AndroidPinning)
* AndroidPinning is a standalone Android library project that facilitates
certificate pinning for SSL connections from Android apps, in order to
minimize dependence on Certificate Authorities.
- [AndBug - A Scriptable Android Debugger](https://github.com/swdunlop/AndBug)
* AndBug is a debugger targeting the Android platform's Dalvik virtual machine
intended for reverse engineers and developers. It uses the same interfaces
as Android's Eclipse debugging plugin, the Java Debug Wire Protocol (JDWP)
and Dalvik Debug Monitor (DDM) to permit users to hook Dalvik methods,
examine process state, and even perform changes.
- [android-gdb](https://github.com/darchons/android-gdb)
* GDB fork targetting Android/Fennec development
- [How to avoid certificate pinning in the latest versions of Android](https://www.welivesecurity.com/2016/09/08/avoid-certificate-pinning-latest-versions-androidESET%20Blog:%20We%20Live%20Security)
### Static Analysis
* [Disect Android APKs like a Pro - Static code analysis](http://blog.dornea.nu/2014/07/07/disect-android-apks-like-a-pro-static-code-analysis/)
* [Androguard](https://code.google.com/p/androguard)
* Androguard is mainly a tool written in python to play with: Dex/Odex (Dalvik
virtual machine) (.dex) (disassemble, decompilation), APK (Android
application) (.apk), Android's binary xml (.xml), Android Resources (.arsc).
Androguard is available for Linux/OSX/Windows (python powered).
* [Dexter](http://dexter.dexlabs.org/accounts/login/?next=/dashboard)
* Dexter is a static android application analysis tool.\
- [Static Code Analysis of Major Android Web Browsers](http://opensecurity.in/research/security-analysis-of-android-browsers.html)
- [Androwarn](https://github.com/maaaaz/androwarn)
* Androwarn is a tool whose main aim is to detect and warn the user about
potential malicious behaviours developped by an Android application. The
detection is performed with the static analysis of the application's Dalvik
bytecode, represented as Smali. This analysis leads to the generation of a
report, according to a technical detail level chosen from the user.
- [Thresher](http://pl.cs.colorado.edu/projects/thresher/)
* Thresher is a static analysis tool that specializes in checking heap
reachability properties. Its secret sauce is using a coarse up-front
points-to analysis to focus a precise symbolic analysis on the alarms
reported by the points-to analysis.
* [[PAPER] Thresher: Precise Refutations for Heap Reachability](http://www.cs.colorado.edu/~sabl4745/papers/pldi13-thresher.pdf)
* [lint - Static Analysis](https://developer.android.com/tools/help/lint.html)
* The Android lint tool is a static code analysis tool that checks your
Android project source files for potential bugs and optimization
improvements for correctness, security, performance, usability,
accessibility, and internationalization.
* [Flow Droid - Taint Analysis](http://sseblog.ec-spride.de/tools/flowdroid/)
* FlowDroid is a context-, flow-, field-, object-sensitive and lifecycle-aware
static taint analysis tool for Android applications.
* [[PAPER] FlowDroid: Precise Context, Flow, Field, Object-sensitive and Lifecycle-aware Taint Analysis for Android Apps](http://www.bodden.de/pubs/far+14flowdroid.pdf)
* In this work we thus present F LOW D ROID , a novel and highly precise
static taint analysis for Android applications. A precise model of
Android’s lifecycle allows the analysis to properly handle callbacks
invoked by the Android framework, while context, flow, field and
object-sensitivity allows the analysis to reduce the number of false
alarms. Novel on-demand algorithms help F LOW D ROID maintain high
efficiency and precision at the same time.
* [dedex](https://github.com/mariokmk/dedex)
* Is a command line tool for disassembling Android DEX files.
* [DexMac](https://github.com/mariokmk/DexMac)
* Is a native OSX application for disassembling Android DEX files.
* [dexdissasembler](https://github.com/mariokmk/dexdisassemble)
* Is a GTK tool for disassembling Android DEX files.
* [dex.Net](https://github.com/mariokmk/dex.net)
* A Mono/.NET library to parse Android DEX files. Its main purpose is to
support utilities for disassembling and presenting the contents of DEX
files.
* [apk2gold](https://github.com/lxdvs/apk2gold)
* CLI tool for decompiling Android apps to Java. It does resources! It does
Java! Its real easy!
* [Android Unpacker presented at Defcon 22: Android Hacker Protection Level 0](https://github.com/strazzere/android-unpacker)
* [byte-code viewer](https://github.com/Konloch/bytecode-viewer)
* Bytecode Viewer is an Advanced Lightweight Java Bytecode Viewer, GUI Java
Decompiler, GUI Bytecode Editor, GUI Smali, GUI Baksmali, GUI APK Editor,
GUI Dex Editor, GUI APK Decompiler, GUI DEX Decompiler, GUI Procyon Java
Decompiler, GUI Krakatau, GUI CFR Java Decompiler, GUI FernFlower Java
Decompiler, GUI DEX2Jar, GUI Jar2DEX, GUI Jar-Jar, Hex Viewer, Code
Searcher, Debugger and more. It's written completely in Java, and it's open
sourced. It's currently being maintained and developed by Konloch.
* [Disect Android APKs like a Pro - Static code analysis](http://blog.dornea.nu/2014/07/07/disect-android-apks-like-a-pro-static-code-analysis/)
### Online APK Analyzers
* [Mobile Sandbox](http://mobilesandbox.org/)
* Provide an Android application file (apk-file) and the Mobile-Sandbox will
analyze the file for any malicious behaviour.
* [CopperDroid](http://copperdroid.isg.rhul.ac.uk/copperdroid/)
* Upload an .apk for static analysis
* [Andrototal](http://andrototal.org/)
* AndroTotal is a free service to scan suspicious APKs against multiple mobile
antivirus apps.
### Attack Platforms
* [drozer](https://github.com/mwrlabs/drozer)
* drozer allows you to search for security vulnerabilities in apps and devices
by assuming the role of an app and interacting with the Dalvik VM, other
apps' IPC endpoints and the underlying OS.
* [Android Tamer](http://androidtamer.com/)
* Android Tamer is a one stop tool required to perform any kind of operations
on Android devices / applications / network VM
### Android Malware
* [Rundown of Android Packers](http://www.fortiguard.com/uploads/general/Area41Public.pdf)
* [APK File Infection on an Android System](]https://www.youtube.com/watch?v=HZI1hCdqKjQ&list=PLCDA5DF85AD6B4ABD)
* [Manifesto](https://github.com/maldroid/manifesto)
* PoC framework for APK obfuscation, used to demonstrate some of the
obfuscation examples from http://maldr0id.blogspot.com. It supports plugins
(located in processing directory) that can do different obfuscation
techniques. Main gist is that you run manifesto on the APK file and it
produces an obfuscated APK file.
* [Android Hacker Protection Level 0](https://www.youtube.com/watch?v=vLU92bNeIdI)
* DEF CON 22 - Tim Strazzere and Jon Sawyer - Obfuscator here, packer there -
the Android ecosystem is becoming a bit cramped with different protectors
for developers to choose. With such limited resources online about attacking
these protectors, what is a new reverse engineer to do? Have no fear, after
drinking all the cheap wine two Android hackers have attacked all the
protectors currently available for everyones enjoyment! Whether you've never
reversed Android before or are a hardened veteran there will be something
for you, along with all the glorious PoC tools and plugins for your little
heart could ever desire.
* [kwetza](https://github.com/sensepost/kwetza)
* Python script to inject existing Android applications with a Meterpreter
payload.
### Reverse Engineering Android
* [APK Studio - Android Reverse Engineering](https://apkstudio.codeplex.com/)
* APK Studio is an IDE for decompiling/editing & then recompiling of android
application binaries. Unlike initial release being Windows exclusive & also
didn't support frameworks, this one is completely re-written using QT for
cross-platform support. You can now have multiple frameworks installed &
pick a particular one on a per project basis.
* [Android apk-tool](https://code.google.com/p/android-apktool/)
* It is a tool for reverse engineering 3rd party, closed, binary Android apps.
It can decode resources to nearly original form and rebuild them after
making some modifications; it makes possible to debug smali code step by
step. Also it makes working with app easier because of project-like files
structure and automation of some repetitive tasks like building apk, etc.
* [Reversing and Auditing Android’s Proprietary bits](http://www.slideshare.net/joshjdrake/reversing-and-auditing-androids-proprietary-bits)
* [Smali](https://code.google.com/p/smali/)
* smali/baksmali is an assembler/disassembler for the dex format used by
dalvik, Android's Java VM implementation. The syntax is loosely based on
Jasmin's/dedexer's syntax, and supports the full functionality of the dex
format (annotations, debug info, line info, etc.)
* [APKinpsector](https://github.com/honeynet/apkinspector/)
* APKinspector is a powerful GUI tool for analysts to analyze the Android
applications.
* [Dexter](http://dexter.dexlabs.org/)
* Dexter is a static android application analysis tool.
* [Reversing Android Apps Slides](http://www.floyd.ch/download/Android_0sec.pdf)
* [AndroChef](http://androiddecompiler.com/)
* AndroChef Java Decompiler is Windows XP, Windows 2003, Windows Vista,
Windows 7, Windows 8, 8.1 decompiler for Java that reconstructs the original
source code from the compiled binary CLASS files. AndroChef Java Decompiler
is able to decompile the most complex Java 6 applets and binaries, producing
accurate source code. AndroChef successfully decompiles obfuscated Java 6
and Java 7 .class and .jar files. Support Java language features like
generics, enums and annotations. According to some studies, AndroChef Java
Decompiler is able to decompile 98.04% of Java applications generated with
traditional Java compilers- a very high recovery rate. It is simple but
powerful tool that allows you to decompile Java and Dalvik bytecode (DEX,
APK) into readable Java source. Easy to use.
* [Instrumenting Android Applications with Frida](http://blog.mdsec.co.uk/2015/04/instrumenting-android-applications-with.html)
* [smali_emulator](https://github.com/evilsocket/smali_emulator)
* This software will emulate a smali source file generated by apktool.
* [ARE - Virtual Machine for Android Reverse Engineering](https://redmine.honeynet.org/projects/are)
* [Android Applications Reversing 101](https://www.evilsocket.net/2017/04/27/Android-Applications-Reversing-101)
* [Android Crackmes](http://www.droidsec.org/wiki/#crack-mes)
* [Hacking Android apps with FRIDA I](https://www.codemetrix.net/hacking-android-apps-with-frida-1/)
* [Want to break some Android apps? - Android Crackmes- Carnal0wnage](http://carnal0wnage.attackresearch.com/2013/08/want-to-break-some-android-apps.html)
* [Dex Education 201 - Anti-Emulation.pdf](https://github.com/strazzere/anti-emulator/blob/master/slides/Dex%20Education%20201%20-%20Anti-Emulation.pdf)
* [List of Android Crackmes](https://forum.tuts4you.com/topic/33057-android-hackmes/)