MobSF Unhandled Exception, System.InvalidOperationException while analyzing .appx file

0

I've implemented MobSF for security testing of mobile applications including android and windows mobile applications. It's working fine with .apk files but I'm facing an issue while analyzing .appx files.

Unhandled Exception: System.InvalidOperationException: Sequence contains more than one matching element 
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable'1 source, Func'2 predicate) 
at CommandLine.Core.TypeLookup.FindTypeDescriptorAndSibling(String name, IEnumerable'1 specifications, StringComparer comparer) 
at CommandLine.Core.Switch.<>c__DisplayClass0_0.<Partition>b__0(Token t) 
at System.Linq.Enumerable.WhereArrayIterator'1.ToArray() 
at System.Linq.Enumerable.ToArray[TSource](IEnumerable'1 source) 
at CSharpx.EnumerableExtensions.Memorize[T](IEnumerable'1 source) 
at CommandLine.Core.TokenPartitioner.Partition(IEnumerable'1 tokens, Func'2 typeLookup) 
at CommandLine.Core.InstanceBuilder.<>c__DisplayClass0_0'1.<Build>b__7() 
at CommandLine.Core.InstanceChooser.MatchVerb(Func'3 tokenizer, IEnumerable'1 verbs, IEnumerable'1 arguments, StringComparer nameComparer, CultureInfo parsingCulture, IEnumerable'1 nonFatalErrors) 
at CommandLine.Core.InstanceChooser.<>c__DisplayClass0_0.<Choose>b__0() 
at CommandLine.Parser.ParseArguments(IEnumerable'1 args, Type[] types) 
at Microsoft.CodeAnalysis.IL.BinSkim.Main(String[] args) 
[ERROR] 29/May/2019 17:54:12 - [Errno 2] No such file or directory: 'C:\\Users\\kiruthiga.k.r\\Mobile-Security-Framework-MobSF\\uploads/126900321753d4acd0bec54a13d0ed38/MusicFolder.exe_binskim' 
[ERROR] 29/May/2019 17:54:12 - Internal Server Error: /StaticAnalyzer_Windows/ 
ERROR:django.request:Internal Server Error: /StaticAnalyzer_Windows/

I have run the command setup.py in command prompt also and installed Binskim and other tools also like BinScope but it keeps giving me error. Please look at the above error and help me out of it so I can go for further.

Attaching two screenshots also for the reference.

Command Prompt:

enter image description here

Hope I've explained my problem. Thanks in advance.

Anshul Tyagi

Posted 2019-06-04T13:10:50.727

Reputation: 101

No answers