In my PhD thesis, I laid out some object classes and behavioural rules for the possible existence of strategic subcultures in certain terrorist organisations. One strand of my post PhD research will be to look at how to model this as a complex adaptive system. Some of the mechanisms I proposed such as cultural transmission and folklore can also be modelled. To do this I will be using the agent based modelling software Netlogo. The Santa Fe Institute has an excellent, archived course on Introduction to Agent Based Modeling if you are interested.