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

Androwarn index out of range errors #3

Closed
StephenQuirolgico opened this issue Jul 16, 2013 · 5 comments
Closed

Androwarn index out of range errors #3

StephenQuirolgico opened this issue Jul 16, 2013 · 5 comments

Comments

@StephenQuirolgico
Copy link

Thomas,

We are getting "Index out of range errors" on some APKs. Unfortunately, I am not permitted to send the APKs to you for debugging. However, we can send you the output after running the APKs through androwarn. Is it possible to update androwarn to provide more debugging information, particularly with "index out of range" errors? Here is the output from the latest APK with this error:

Traceback (most recent call last):
File "/home/test/androwarn/androwarn.py", line 116, in
main(options, arguments)
File "/home/test/androwarn/androwarn.py", line 99, in main
data = perform_analysis(APK_FILE, a, d, x, no_connection)
File "/home/test/androwarn/androwarn/analysis/analysis.py", line 120, in perform_analysis
( 'suspicious_connection_establishment', gather_suspicious_connection_establishment(x) ),
File "/home/test/androwarn/androwarn/search/malicious_behaviours/remote_connection.py", line 68, in gather_suspicious_connection_establishment
result.extend( detect_Socket_use(x) )
File "/home/test/androwarn/androwarn/search/malicious_behaviours/remote_connection.py", line 52, in detect_Socket_use
remote_port = get_register_value(2, registers)
File "/home/test/androwarn/androwarn/core/core.py", line 426, in get_register_value
dict = registers[index]
IndexError: list index out of range

@Patryck95
Copy link

I'm having the same problem

Traceback (most recent call last):
File "androwarn.py", line 116, in
main(options, arguments)
File "androwarn.py", line 99, in main
data = perform_analysis(APK_FILE, a, d, x, no_connection)
File "/home/pc/Documents/TOOLS/Androwarn/androwarn/androwarn/analysis/analysis.py", line 120, in perform_analysis ( 'suspicious_connection_establishment', gather_suspicious_connection_establishment(x) ),
File "/home/pc/Documents/TOOLS/Androwarn/androwarn/androwarn/search/malicious_behaviours/remote_connection.py", line 68, in gather_suspicious_connection_establishment
result.extend( detect_Socket_use(x) )
File "/home/pc/Documents/TOOLS/Androwarn/androwarn/androwarn/search/malicious_behaviours/remote_connection.py", line 52, in detect_Socket_use
remote_port = get_register_value(2, registers)
File "/home/pc/Documents/TOOLS/Androwarn/androwarn/androwarn/core/core.py", line 426, in get_register_value
dict = registers[index]
IndexError: list index out of range

@StephenQuirolgico
Copy link
Author

Unfortunately, I never heard back about this.

@Patryck95
Copy link

Yeah i've noticed the date XD. I thought that if i posted a new comment perhaps our problem could have some reply.

@StephenQuirolgico
Copy link
Author

StephenQuirolgico commented Feb 2, 2018 via email

@maaaaz
Copy link
Owner

maaaaz commented Dec 30, 2018

Hello there,

So long after, that bug is now fixed :)

Best regards.

@maaaaz maaaaz closed this as completed Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants