Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Cross-References for all MAS Components, Automation simplified with Hooks, New Tools (MASTG-TOOL-0105, MASTG-TOOL-0106, MASTG-TOOL-0107, MASTG-TOOL-0108) and Apps (MASTG-APP-0028) #2848

Merged
merged 134 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
e7d9a62
Add Dockerfile to run website locally
cpholguera Jul 13, 2024
0cc8246
chore: Update Dockerfile to create a virtual environment and install …
cpholguera Jul 13, 2024
134d852
Testing...
Jul 13, 2024
5980179
Testing
Jul 13, 2024
9e99755
Fix tools
Jul 13, 2024
36c89c0
More tools fixes
Jul 13, 2024
d16be55
More refactoring
Jul 13, 2024
3a62493
More refactoring
Jul 13, 2024
98c6f69
More Refactor
TheDauntless Jul 14, 2024
65333a0
More refactoring
TheDauntless Jul 14, 2024
356d44f
Move genere_cross_references
TheDauntless Jul 15, 2024
0473449
Move file
TheDauntless Jul 15, 2024
c27638c
Move file 2
TheDauntless Jul 15, 2024
13cf476
Merge commit '04734499dc5537d8617100bc2747ca85ee6283c0' into RESTORE_…
TheDauntless Jul 15, 2024
8e62ee5
Merge branch 'RESTORE_BRANCH' into fileTreeRefactor
TheDauntless Jul 15, 2024
23f45bf
Recover tests-beta
TheDauntless Jul 15, 2024
3041025
Refactor tests-beta
TheDauntless Jul 15, 2024
b58ccc2
Move demos
TheDauntless Jul 15, 2024
7359c14
Move demos2
TheDauntless Jul 15, 2024
4a82d98
Merge commit 'b58ccc2f8ca9fe7644f928a33512dd03ff528e9b' into RESTORE_…
TheDauntless Jul 15, 2024
c4d1d83
Merge branch 'RESTORE_BRANCH_2' into fileTreeRefactor
TheDauntless Jul 15, 2024
ddd03be
Restore demos
TheDauntless Jul 15, 2024
22dc255
Move beta tests
TheDauntless Jul 15, 2024
c2c569b
Merge tests update
TheDauntless Jul 15, 2024
6b5feeb
Move files
TheDauntless Jul 15, 2024
8951439
Update .mas-test-button so that <a> can look like button
TheDauntless Jul 15, 2024
da610c9
Fix demo / test buttons
TheDauntless Jul 15, 2024
185ab1c
Clean up function
TheDauntless Jul 15, 2024
62c01c6
Move transform_files into mkdoc hook
TheDauntless Jul 15, 2024
6a045b6
Structure_mastg no longer needed
TheDauntless Jul 15, 2024
5eb85c9
Enable github hook
TheDauntless Jul 15, 2024
8929cad
Clean up docs/masvs
TheDauntless Jul 15, 2024
f20be76
Change absolute refs
TheDauntless Jul 15, 2024
9b5e95a
Switch absolute paths
TheDauntless Jul 15, 2024
ed6fb97
Update MASTG Tests (beta) table
TheDauntless Jul 15, 2024
2a89cdf
Fix references
TheDauntless Jul 15, 2024
a786770
Fix tests and demos table
TheDauntless Jul 15, 2024
1763203
Fix references
TheDauntless Jul 15, 2024
d5f0423
Hide docs/MASVS from git
TheDauntless Jul 15, 2024
f9d4eb1
Fix reference
TheDauntless Jul 15, 2024
573c58f
Clean up images
TheDauntless Jul 16, 2024
7acd8d5
Fix image URLs with hook
TheDauntless Jul 16, 2024
9bffcfe
Refactor identifiers
TheDauntless Jul 19, 2024
d0be046
Update docker
TheDauntless Jul 19, 2024
3355862
Remove last_updated
TheDauntless Jul 19, 2024
5025bf2
Compact yaml
TheDauntless Jul 19, 2024
2010f9b
Remove erroneous images dir
TheDauntless Jul 19, 2024
8b75a32
Remove file
TheDauntless Jul 19, 2024
0c8218e
move weakness
TheDauntless Jul 19, 2024
0e2ef90
move 2
TheDauntless Jul 19, 2024
910528b
Merge commit '0c8218e6fd2a1af79c840367b929cf908e8fa5de' into beforede…
TheDauntless Jul 19, 2024
e3aa0ed
Merge branch 'beforedeletion' into fileTreeRefactor
TheDauntless Jul 19, 2024
7e9b43e
Fix history
TheDauntless Jul 19, 2024
853fef5
Move
TheDauntless Jul 19, 2024
001f396
Refactor
TheDauntless Jul 19, 2024
6c35222
Remove html checklist
TheDauntless Jul 19, 2024
9baf470
Move file (1)
Jul 30, 2024
9953bd4
Move file (2)
Jul 30, 2024
8bde72e
Merge commit '9baf47026579f65879d494a7f3211b08dcea16b9' into testRest…
Jul 30, 2024
250d220
Merge branch 'testRestore1' into fileTreeRefactor
Jul 30, 2024
9a6cefc
Revert talks
Jul 30, 2024
d5db287
Fix merge
Jul 30, 2024
d4efff2
Change # to @
Jul 30, 2024
9d59999
Fix some linting
Jul 30, 2024
706cb02
Fix linting
Jul 30, 2024
83f6150
Fix linting
Jul 30, 2024
5a992e4
Refactor # to @
Jul 30, 2024
31d8f54
Move MASTG folders to top level dir
Jul 30, 2024
0439331
Move folders
Jul 30, 2024
88333d1
Fix hooks for change of folder locations
Jul 30, 2024
005353b
Add restructure script to run_web.sh
Jul 30, 2024
1228849
Update github actions
Jul 30, 2024
f369f99
Fix yaml_to_excel flow
Jul 30, 2024
d839bae
fix parenthesis
cpholguera Aug 2, 2024
0f463c0
rm duplicate
cpholguera Aug 2, 2024
872799a
add igoat-swift app and fixed links to it
cpholguera Aug 2, 2024
d060b25
restore weaknesses
cpholguera Aug 2, 2024
48c38e9
Merge branch 'master' of https://github.com/OWASP/owasp-mastg into fi…
cpholguera Aug 3, 2024
cb6e9fb
fix tool name
cpholguera Aug 3, 2024
19c0487
fix broken links
cpholguera Aug 3, 2024
cf5bef8
move maswe index back
cpholguera Aug 3, 2024
02c7476
update structure_mastg.sh script to include weaknesses directory
cpholguera Aug 3, 2024
38265b7
update .gitignore
cpholguera Aug 3, 2024
d29c4ba
fix spelling
cpholguera Aug 3, 2024
f530686
fix links
cpholguera Aug 3, 2024
9e85176
fix linking for techniques and tools
cpholguera Aug 3, 2024
273c925
fix links in tests
cpholguera Aug 3, 2024
2fe38ac
fix links in weak and tech
cpholguera Aug 3, 2024
fbdbf6f
fix broken urls
cpholguera Aug 3, 2024
6fc76cd
fix lint error
cpholguera Aug 3, 2024
ec39cd1
fix broken urls
cpholguera Aug 3, 2024
b523019
fix images not found in doc generator
cpholguera Aug 3, 2024
5f749ae
fix doc gen
cpholguera Aug 3, 2024
9a93bec
fix demo link
cpholguera Aug 3, 2024
191e4d1
fix img element
cpholguera Aug 3, 2024
5907315
fix more links
cpholguera Aug 3, 2024
a2632ce
rm overview
cpholguera Aug 3, 2024
944c74e
Refactor MASVS index.md and remove links
cpholguera Aug 3, 2024
dd58c9e
fix links
cpholguera Aug 3, 2024
b685989
move mastg index
cpholguera Aug 3, 2024
472b0b0
fix maswe links
cpholguera Aug 3, 2024
8c7025c
fix warns and absolute link errors in mkdocs.yml
cpholguera Aug 3, 2024
b95ad3d
update run web to localhost
cpholguera Aug 3, 2024
a441b33
rm old imgs
cpholguera Aug 3, 2024
18b3acc
fix path to mastg cover
cpholguera Aug 3, 2024
c113587
rm duplicate imgs
cpholguera Aug 3, 2024
d062645
rm duplicate imgs
cpholguera Aug 3, 2024
b724de9
fix all Image vs /Image items
cpholguera Aug 3, 2024
744afbc
fix typo
cpholguera Aug 3, 2024
e68c54c
fix contact links
cpholguera Aug 3, 2024
45bcbe1
add checklists banner via hook
cpholguera Aug 3, 2024
89d94f9
fix last_updated
cpholguera Aug 3, 2024
09cc857
delete fixtools.py
cpholguera Aug 3, 2024
fe4b6d3
update .gitignore to ignore OWASP_MASVS.yaml
cpholguera Aug 4, 2024
a6c0411
fix remaining links to MAS components
cpholguera Aug 4, 2024
5ab099a
update tools index and .gitignore to ignore cross_references.yaml
cpholguera Aug 4, 2024
9bc907b
update icons
cpholguera Aug 4, 2024
e106224
fix and add more refs to tools
cpholguera Aug 4, 2024
8db6069
remove preLaunchTask from launch.json
cpholguera Aug 4, 2024
bdcf73d
add Corellium tool
cpholguera Aug 4, 2024
4b5ca96
centralize icons in mkdocs.yml and use and convert in hooks as needed
cpholguera Aug 4, 2024
fdb7143
fix and add more refs to tools
cpholguera Aug 4, 2024
04f1c06
Update build-website.yml
cpholguera Aug 4, 2024
2af937d
Update structure_mastg.sh to fail properly
cpholguera Aug 4, 2024
75aad00
Update src/scripts/structure_mastg.sh to create missing directory
cpholguera Aug 4, 2024
8ad2233
Update resolve_references.py to remove unused line
cpholguera Aug 4, 2024
af01fd6
remove unused image reference fixer hook
cpholguera Aug 4, 2024
a9ca66e
fix icons for apps and maswe not displaying as tags
cpholguera Aug 4, 2024
8f25b70
index for tests and techniques moved from Document to tests/ and tech…
cpholguera Aug 4, 2024
1290abe
Merge branch 'fileTreeRefactor2' of https://github.com/OWASP/owasp-ma…
cpholguera Aug 4, 2024
6f0c0b2
Exclude links containing 'github.com/OWASP' from external_links.js
cpholguera Aug 4, 2024
f9568f9
Update build-website.yml with -x to log every command but not on local
cpholguera Aug 4, 2024
657042d
Update demos to remove hardcoded tools
cpholguera Aug 4, 2024
6d490a9
rm tools column from demos for now
cpholguera Aug 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
- name: Install dependencies
run: pip install -r src/scripts/requirements.txt

- run: ./src/scripts/structure_mastg.sh

- run: python3 src/scripts/transform_files.py
- run: bash -x ./src/scripts/structure_mastg.sh

- name: Get Latest MASVS Release Tag
run: echo "MASVS_VERSION=$(curl -s https://api.github.com/repos/OWASP/owasp-masvs/releases/latest | jq '.tag_name' | sed 's/\"//g')" >> $GITHUB_ENV
Expand All @@ -39,11 +37,5 @@ jobs:

- name: Generate MASVS Control Markdown Files
run: python3 src/scripts/write_masvs_control_md_files.py

- name: Populate Dynamic Pages
run: python3 src/scripts/populate_dynamic_pages.py

- name: Generate Cross-References
run: python3 src/scripts/generate_cross_references.py

- run: mkdocs gh-deploy --force --clean --verbose
6 changes: 6 additions & 0 deletions .github/workflows/config/url-checker-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
{
"pattern": "https://github.com/commjoen/contributors-mstg"
},
{
"pattern": "https://www.dhanjani.com/blog/2010/11/insecure-handling-of-url-schemes-in-apples-ios.html"
},
{
"pattern": "http://127.0.0.1:8000"
},
Expand Down Expand Up @@ -78,6 +81,9 @@
{
"pattern": "^https://www.netspi.com/blog/technical-blog/"
},
{
"pattern": "^https://web.archive.org"
},
{
"pattern": "^MASTG/"
},
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/docgenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jobs:
- name: Assemble Chapters
run: python3 src/scripts/assemble_chapters_for_pdf.py

- name: Process Files
run: python3 src/scripts/transform_files.py

- name: Generate English PDF
run: ./src/pandocker/pandoc_makedocs.sh Document ${{env.MASTG_VERSION}} ${{env.MASVS_VERSION}}

Expand Down
15 changes: 7 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ logs
*.pdf
*.docx
*.epub
docs/MASVS/**/
docs/MASVS/*-*.md
docs/MASTG/**/
docs/MASTG/0x*.md
docs/assets/Images
docs/checklists/MASVS-*.md
docs/talks.md
owasp-masvs
__pycache__
Expand All @@ -27,5 +21,10 @@ playground/
__handlers__
*.apk
risks2/
docs/MASWE/**/
docs/MASWE/*.md
docs/MASVS/**/
docs/MASVS/*-*.md
docs/MASTG
docs/MASWE
docs/assets/Images
OWASP_MASVS.yaml
cross_references.yaml
3 changes: 1 addition & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${workspaceFolder}/.venv/bin/python3"
},
"preLaunchTask": "Run populate_dynamic_pages.py"
}
}
]
}
16 changes: 0 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,6 @@
"type": "shell",
"command": "./src/scripts/structure_mastg.sh",
"problemMatcher": []
},
{
"label": "Run transform_files.py",
"type": "shell",
"command": "${workspaceFolder}/.venv/bin/python",
"args": ["src/scripts/transform_files.py"],
"problemMatcher": [],
"dependsOn": "Run structure_mastg.sh"
},
{
"label": "Run populate_dynamic_pages.py",
"type": "shell",
"command": "${workspaceFolder}/.venv/bin/python",
"args": ["src/scripts/populate_dynamic_pages.py"],
"problemMatcher": [],
"dependsOn": "Run transform_files.py"
}
]
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ EXPOSE 8000
# Start the container with a shell
CMD ["bash"]

# If running manually: docker run -it --rm -p 8000:8000 -v $(pwd):/workspaces/owasp-mastg mastg
# If running manually: docker run -it --rm -p 8000:8000 -v $(pwd):/workspaces/owasp-mastg mastg
38 changes: 19 additions & 19 deletions Document/0x01-Foreword.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Foreword
Welcome to the OWASP Mobile Application Security Testing Guide. Feel free to explore the existing content, but do note that it may change at any time. New APIs and best practices are introduced in iOS and Android with every major (and minor) release and also vulnerabilities are found every day.
If you have feedback or suggestions, or want to contribute, create an issue on GitHub or ping us on Slack. See the README for instructions:
<https://www.github.com/OWASP/owasp-mastg/>
**squirrel (noun plural): Any arboreal sciurine rodent of the genus Sciurus, such as S. vulgaris (red squirrel) or S. carolinensis (grey squirrel), having a bushy tail and feeding on nuts, seeds, etc.**
On a beautiful summer day, a group of ~7 young men, a woman, and approximately three squirrels met in a Woburn Forest villa during the OWASP Security Summit 2017. So far, nothing unusual. But little did you know, within the next five days, they would redefine not only mobile application security, but the very fundamentals of book writing itself (ironically, the event took place near Bletchley Park, once the residence and work place of the great Alan Turing).
Or maybe that's going too far. But at least, they produced a proof-of-concept for an unusual security book. The Mobile Application Security Testing Guide (MASTG) is an open, agile, crowd-sourced effort, made of the contributions of dozens of authors and reviewers from all over the world.
Because this isn't a normal security book, the introduction doesn't list impressive facts and data proving importance of mobile devices in this day and age. It also doesn't explain how mobile application security is broken, and why a book like this was sorely needed, and the authors don't thank their beloved ones without whom the book wouldn't have been possible.
We do have a message to our readers however! The first rule of the OWASP Mobile Application Security Testing Guide is: Don't just follow the OWASP Mobile Application Security Testing Guide. True excellence at mobile application security requires a deep understanding of mobile operating systems, coding, network security, cryptography, and a whole lot of other things, many of which we can only touch on briefly in this book. Don't stop at security testing. Write your own apps, compile your own kernels, dissect mobile malware, learn how things tick. And as you keep learning new things, consider contributing to the MASTG yourself! Or, as they say: "Do a pull request".
<img src="Images/summit-team.jpg" width="100%" />
# Foreword

Welcome to the OWASP Mobile Application Security Testing Guide. Feel free to explore the existing content, but do note that it may change at any time. New APIs and best practices are introduced in iOS and Android with every major (and minor) release and also vulnerabilities are found every day.

If you have feedback or suggestions, or want to contribute, create an issue on GitHub or ping us on Slack. See the README for instructions:

<https://www.github.com/OWASP/owasp-mastg/>

**squirrel (noun plural): Any arboreal sciurine rodent of the genus Sciurus, such as S. vulgaris (red squirrel) or S. carolinensis (grey squirrel), having a bushy tail and feeding on nuts, seeds, etc.**

On a beautiful summer day, a group of ~7 young men, a woman, and approximately three squirrels met in a Woburn Forest villa during the OWASP Security Summit 2017. So far, nothing unusual. But little did you know, within the next five days, they would redefine not only mobile application security, but the very fundamentals of book writing itself (ironically, the event took place near Bletchley Park, once the residence and work place of the great Alan Turing).

Or maybe that's going too far. But at least, they produced a proof-of-concept for an unusual security book. The Mobile Application Security Testing Guide (MASTG) is an open, agile, crowd-sourced effort, made of the contributions of dozens of authors and reviewers from all over the world.

Because this isn't a normal security book, the introduction doesn't list impressive facts and data proving importance of mobile devices in this day and age. It also doesn't explain how mobile application security is broken, and why a book like this was sorely needed, and the authors don't thank their beloved ones without whom the book wouldn't have been possible.

We do have a message to our readers however! The first rule of the OWASP Mobile Application Security Testing Guide is: Don't just follow the OWASP Mobile Application Security Testing Guide. True excellence at mobile application security requires a deep understanding of mobile operating systems, coding, network security, cryptography, and a whole lot of other things, many of which we can only touch on briefly in this book. Don't stop at security testing. Write your own apps, compile your own kernels, dissect mobile malware, learn how things tick. And as you keep learning new things, consider contributing to the MASTG yourself! Or, as they say: "Do a pull request".

<img src="Images/summit-team.jpg" width="100%" />
2 changes: 1 addition & 1 deletion Document/0x02a-Frontispiece.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ All our Changelogs are available online at the OWASP MASTG GitHub repository, se

Please consult the laws in your country before executing any tests against mobile apps by utilizing the MASTG materials. Refrain from violating the laws with anything described in the MASTG.

Our [Code of Conduct] has further details: <https://github.com/OWASP/owasp-mastg/blob/master/CODE_OF_CONDUCT.md>
Our [Code of Conduct] has further details: <https://github.com/OWASP/owasp-mastg/blob/master/.github/CODE_OF_CONDUCT.md>

OWASP thanks the many authors, reviewers, and editors for their hard work in developing this guide. If you have any comments or suggestions, please connect with us: <https://mas.owasp.org/contact>

Expand Down
4 changes: 2 additions & 2 deletions Document/0x02c-Acknowledgements.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you'd like to apply please contact the project leaders by sending an email to
- Advocate Companies may use the logo and links to MASVS/MASTG resources as part of their communication but cannot use them as an endorsement by OWASP as a preferred provider of software and services.
- Example of what's ok: list MAS Advocate status on website home page, in "about company" slides in sales presentations, on sales collateral.
- Example of what's not ok: a MAS Advocate cannot claim they are OWASP certified.
- The quality of the application of the MASVS/MASTG by these companies [has not been vetted by the MAS team](https://mas.owasp.org/MASVS/Intro/04-Assessment_and_Certification/).
- The quality of the application of the MASVS/MASTG by these companies [has not been vetted by the MAS team](https://mas.owasp.org/MASVS/04-Assessment_and_Certification/).

> The OWASP Foundation is very grateful for the support by the individuals and organizations listed. However please note, the OWASP Foundation is strictly vendor neutral and does not endorse any of its supporters. MAS Advocates do not influence the content of the MASVS or MASTG in any way.

Expand All @@ -82,7 +82,7 @@ A special mention goes for the **contribution to the MASVS Refactoring**:
- Feedback on each category proposal
- Statistics from internal analysis

In the past, NowSecure has also contributed to the project, has sponsored it becoming a "God Mode Sponsor" and has donated the [UnCrackable App for Android Level 4: Radare2 Pay](0x08b-Reference-Apps.md#android-uncrackable-l4).
In the past, NowSecure has also contributed to the project, has sponsored it becoming a "God Mode Sponsor" and has donated the @MASTG-APP-0015.

Additionally:

Expand Down
12 changes: 1 addition & 11 deletions Document/0x03-Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ New technology always introduces new security risks, and security concerns for m

First, the Project recommends that your mobile app security strategies should be based on the [OWASP Mobile Application Security _Verification Standard_ (MASVS)](https://mas.owasp.org/MASVS/), which defines a mobile app security model and lists generic security requirements for mobile apps. MASVS is designed to be used by architects, developers, testers, security professionals, and consumers to define and understand the qualities of a secure mobile app. After you have determined how OWASP MASVS applies to your mobile app's security model, the Project suggests that you use the [OWASP Mobile Application Security _Testing Guide_ (MASTG)](https://mas.owasp.org/MASTG/). The Testing Guide maps to the same basic set of security requirements offered by the MASVS and depending on the context, they can be used individually or combined to achieve different objectives.

<img src="Images/Chapters/0x03/owasp-mobile-overview.png" alt="image" width="50%" />
<img src="Images/Chapters/0x03/owasp-mobile-overview.png" width="50%" />

For example, the MASVS requirements can be used in an app's planning and architecture design stages while the checklist and testing guide may serve as a baseline for manual security testing or as a template for automated security tests during or after development. In the ["Mobile App Security Testing"](0x04b-Mobile-App-Security-Testing.md) chapter we'll describe how you can apply the checklist and MASTG to a mobile app penetration test.

Expand All @@ -32,16 +32,6 @@ Many mobile app penetration testers have a background in network and web app pen

## OWASP MASVS Overview: Key Areas in Mobile Application Security

This overview discusses how the MASVS defines and describes the key areas of mobile security:

- [Data Storage and Privacy](#masvs-storage-data-storage-and-privacy)
- [Cryptography](#masvs-crypto-cryptography)
- [Authentication and Authorization](#masvs-auth-authentication-and-authorization)
- [Network Communication](#masvs-network-network-communication)
- [Interaction with the Mobile Platform](#masvs-platform-interaction-with-the-mobile-platform)
- [Code Quality and Exploit Mitigation](#masvs-code-code-quality-and-exploit-mitigation)
- [Anti-Tampering and Anti-Reversing](#masvs-resilience-anti-tampering-and-anti-reversing)

### MASVS-STORAGE: Data Storage and Privacy

The Standard is based on the principle that protecting sensitive data, such as user credentials and private information, is crucial to mobile security. If an app does not use operating system APIs properly, especially those that handle local storage or inter-process communication (IPC), the app could expose sensitive data to other apps running on the same device or may unintentionally leak data to cloud storage, backups, or the keyboard cache. And since mobile devices are more likely to be or lost or stolen, attackers can actually gain physical access to the device, which would make it easier to retrieve the data.
Expand Down
2 changes: 0 additions & 2 deletions Document/0x04b-Mobile-App-Security-Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ Automated analysis tools can be used to speed up the review process of Static Ap

Although some static code analysis tools incorporate a lot of information about the rules and semantics required to analyze mobile apps, they may produce many false positives, particularly if they are not configured for the target environment. A security professional must therefore always review the results.

The chapter ["Testing Tools"](0x08a-Testing-Tools.md) includes a list of static analysis tools, which can be found at the end of this book.

### Dynamic Analysis

The focus of DAST is the testing and evaluation of apps via their real-time execution. The main objective of dynamic analysis is finding security vulnerabilities or weak spots in a program while it is running. Dynamic analysis is conducted both at the mobile platform layer and against the backend services and APIs, where the mobile app's request and response patterns can be analyzed.
Expand Down
Loading
Loading